@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, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
|
String |
getKmsKeyId()
The Amazon Resource Name (ARN) of the CMK to use when encrypting log data.
|
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)
Marshalls this structured data using the given
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, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
|
void |
setKmsKeyId(String kmsKeyId)
The Amazon Resource Name (ARN) of the CMK to use when encrypting log data.
|
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, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
|
LogGroup |
withKmsKeyId(String kmsKeyId)
The Amazon Resource Name (ARN) of the CMK to use when encrypting log data.
|
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, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
creationTime
- The creation time of the log group, expressed as the number of milliseconds after Jan 1, 1970 00:00:00
UTC.public Long getCreationTime()
The creation time of the log group, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
public LogGroup withCreationTime(Long creationTime)
The creation time of the log group, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
creationTime
- The creation time of the log group, expressed as the number of milliseconds after Jan 1, 1970 00:00:00
UTC.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 void setKmsKeyId(String kmsKeyId)
The Amazon Resource Name (ARN) of the CMK to use when encrypting log data.
kmsKeyId
- The Amazon Resource Name (ARN) of the CMK to use when encrypting log data.public String getKmsKeyId()
The Amazon Resource Name (ARN) of the CMK to use when encrypting log data.
public LogGroup withKmsKeyId(String kmsKeyId)
The Amazon Resource Name (ARN) of the CMK to use when encrypting log data.
kmsKeyId
- The Amazon Resource Name (ARN) of the CMK to use when encrypting log data.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.