@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LogGroup extends Object implements Serializable, Cloneable, StructuredPojo
Represents a log group.
Constructor and Description |
---|
LogGroup() |
Modifier and Type | Method and Description |
---|---|
LogGroup |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the log group.
|
Long |
getCreationTime()
The creation time of the log group.
|
String |
getLogGroupName()
The name of the log group.
|
Integer |
getMetricFilterCount()
The number of metric filters.
|
Integer |
getRetentionInDays() |
Long |
getStoredBytes()
The number of bytes stored.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the log group.
|
void |
setCreationTime(Long creationTime)
The creation time of the log group.
|
void |
setLogGroupName(String logGroupName)
The name of the log group.
|
void |
setMetricFilterCount(Integer metricFilterCount)
The number of metric filters.
|
void |
setRetentionInDays(Integer retentionInDays) |
void |
setStoredBytes(Long storedBytes)
The number of bytes stored.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
LogGroup |
withArn(String arn)
The Amazon Resource Name (ARN) of the log group.
|
LogGroup |
withCreationTime(Long creationTime)
The creation time of the log group.
|
LogGroup |
withLogGroupName(String logGroupName)
The name of the log group.
|
LogGroup |
withMetricFilterCount(Integer metricFilterCount)
The number of metric filters.
|
LogGroup |
withRetentionInDays(Integer retentionInDays) |
LogGroup |
withStoredBytes(Long storedBytes)
The number of bytes stored.
|
public void setLogGroupName(String logGroupName)
The name of the log group.
logGroupName
- The name of the log group.public String getLogGroupName()
The name of the log group.
public LogGroup withLogGroupName(String logGroupName)
The name of the log group.
logGroupName
- The name of the log group.public void setCreationTime(Long creationTime)
The creation time of the log group.
creationTime
- The creation time of the log group.public Long getCreationTime()
The creation time of the log group.
public LogGroup withCreationTime(Long creationTime)
The creation time of the log group.
creationTime
- The creation time of the log group.public void setRetentionInDays(Integer retentionInDays)
retentionInDays
- public Integer getRetentionInDays()
public LogGroup withRetentionInDays(Integer retentionInDays)
retentionInDays
- public void setMetricFilterCount(Integer metricFilterCount)
The number of metric filters.
metricFilterCount
- The number of metric filters.public Integer getMetricFilterCount()
The number of metric filters.
public LogGroup withMetricFilterCount(Integer metricFilterCount)
The number of metric filters.
metricFilterCount
- The number of metric filters.public void setArn(String arn)
The Amazon Resource Name (ARN) of the log group.
arn
- The Amazon Resource Name (ARN) of the log group.public String getArn()
The Amazon Resource Name (ARN) of the log group.
public LogGroup withArn(String arn)
The Amazon Resource Name (ARN) of the log group.
arn
- The Amazon Resource Name (ARN) of the log group.public void setStoredBytes(Long storedBytes)
The number of bytes stored.
storedBytes
- The number of bytes stored.public Long getStoredBytes()
The number of bytes stored.
public LogGroup withStoredBytes(Long storedBytes)
The number of bytes stored.
storedBytes
- The number of bytes stored.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2017. All rights reserved.