public class LogGroup
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
arn |
private java.lang.Long |
creationTime |
private java.lang.String |
logGroupName |
private java.lang.Integer |
metricFilterCount |
private java.lang.Integer |
retentionInDays |
private java.lang.Long |
storedBytes |
Constructor and Description |
---|
LogGroup() |
Modifier and Type | Method and Description |
---|---|
LogGroup |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getArn() |
java.lang.Long |
getCreationTime() |
java.lang.String |
getLogGroupName() |
java.lang.Integer |
getMetricFilterCount() |
java.lang.Integer |
getRetentionInDays() |
java.lang.Long |
getStoredBytes() |
int |
hashCode() |
void |
setArn(java.lang.String arn) |
void |
setCreationTime(java.lang.Long creationTime) |
void |
setLogGroupName(java.lang.String logGroupName) |
void |
setMetricFilterCount(java.lang.Integer metricFilterCount) |
void |
setRetentionInDays(java.lang.Integer retentionInDays) |
void |
setStoredBytes(java.lang.Long storedBytes) |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
LogGroup |
withArn(java.lang.String arn) |
LogGroup |
withCreationTime(java.lang.Long creationTime) |
LogGroup |
withLogGroupName(java.lang.String logGroupName) |
LogGroup |
withMetricFilterCount(java.lang.Integer metricFilterCount) |
LogGroup |
withRetentionInDays(java.lang.Integer retentionInDays) |
LogGroup |
withStoredBytes(java.lang.Long storedBytes) |
private java.lang.String logGroupName
private java.lang.Long creationTime
private java.lang.Integer retentionInDays
private java.lang.Integer metricFilterCount
private java.lang.String arn
private java.lang.Long storedBytes
public void setLogGroupName(java.lang.String logGroupName)
logGroupName
- public java.lang.String getLogGroupName()
public LogGroup withLogGroupName(java.lang.String logGroupName)
logGroupName
- public void setCreationTime(java.lang.Long creationTime)
creationTime
- public java.lang.Long getCreationTime()
public LogGroup withCreationTime(java.lang.Long creationTime)
creationTime
- public void setRetentionInDays(java.lang.Integer retentionInDays)
retentionInDays
- public java.lang.Integer getRetentionInDays()
public LogGroup withRetentionInDays(java.lang.Integer retentionInDays)
retentionInDays
- public void setMetricFilterCount(java.lang.Integer metricFilterCount)
metricFilterCount
- public java.lang.Integer getMetricFilterCount()
public LogGroup withMetricFilterCount(java.lang.Integer metricFilterCount)
metricFilterCount
- public void setArn(java.lang.String arn)
arn
- public java.lang.String getArn()
public LogGroup withArn(java.lang.String arn)
arn
- public void setStoredBytes(java.lang.Long storedBytes)
storedBytes
- public java.lang.Long getStoredBytes()
public LogGroup withStoredBytes(java.lang.Long storedBytes)
storedBytes
- public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public LogGroup clone()
clone
in class java.lang.Object