public class LogGroup extends Object implements Serializable
Constructor and Description |
---|
LogGroup() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getArn()
Returns the value of the Arn property for this object.
|
Long |
getCreationTime()
A point in time expressed as the number milliseconds since Jan 1, 1970
00:00:00 UTC.
|
String |
getLogGroupName()
Returns the value of the LogGroupName property for this object.
|
Integer |
getMetricFilterCount()
The number of metric filters associated with the log group.
|
Integer |
getRetentionInDays()
Specifies the number of days you want to retain log events in the
specified log group.
|
Long |
getStoredBytes()
Returns the value of the StoredBytes property for this object.
|
int |
hashCode() |
void |
setArn(String arn)
Sets the value of the Arn property for this object.
|
void |
setCreationTime(Long creationTime)
A point in time expressed as the number milliseconds since Jan 1, 1970
00:00:00 UTC.
|
void |
setLogGroupName(String logGroupName)
Sets the value of the LogGroupName property for this object.
|
void |
setMetricFilterCount(Integer metricFilterCount)
The number of metric filters associated with the log group.
|
void |
setRetentionInDays(Integer retentionInDays)
Specifies the number of days you want to retain log events in the
specified log group.
|
void |
setStoredBytes(Long storedBytes)
Sets the value of the StoredBytes property for this object.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
LogGroup |
withArn(String arn)
Sets the value of the Arn property for this object.
|
LogGroup |
withCreationTime(Long creationTime)
A point in time expressed as the number milliseconds since Jan 1, 1970
00:00:00 UTC.
|
LogGroup |
withLogGroupName(String logGroupName)
Sets the value of the LogGroupName property for this object.
|
LogGroup |
withMetricFilterCount(Integer metricFilterCount)
The number of metric filters associated with the log group.
|
LogGroup |
withRetentionInDays(Integer retentionInDays)
Specifies the number of days you want to retain log events in the
specified log group.
|
LogGroup |
withStoredBytes(Long storedBytes)
Sets the value of the StoredBytes property for this object.
|
public String getLogGroupName()
Constraints:
Length: 1 - 512
Pattern: [\.\-_/#A-Za-z0-9]+
public void setLogGroupName(String logGroupName)
Constraints:
Length: 1 - 512
Pattern: [\.\-_/#A-Za-z0-9]+
logGroupName
- The new value for the LogGroupName property for this object.public LogGroup withLogGroupName(String logGroupName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 512
Pattern: [\.\-_/#A-Za-z0-9]+
logGroupName
- The new value for the LogGroupName property for this object.public Long getCreationTime()
Constraints:
Range: 0 -
public void setCreationTime(Long creationTime)
Constraints:
Range: 0 -
creationTime
- A point in time expressed as the number milliseconds since Jan 1, 1970
00:00:00 UTC.public LogGroup withCreationTime(Long creationTime)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 -
creationTime
- A point in time expressed as the number milliseconds since Jan 1, 1970
00:00:00 UTC.public Integer getRetentionInDays()
public void setRetentionInDays(Integer retentionInDays)
retentionInDays
- Specifies the number of days you want to retain log events in the
specified log group. Possible values are: 1, 3, 5, 7, 14, 30, 60, 90,
120, 150, 180, 365, 400, 547, 730.public LogGroup withRetentionInDays(Integer retentionInDays)
Returns a reference to this object so that method calls can be chained together.
retentionInDays
- Specifies the number of days you want to retain log events in the
specified log group. Possible values are: 1, 3, 5, 7, 14, 30, 60, 90,
120, 150, 180, 365, 400, 547, 730.public Integer getMetricFilterCount()
public void setMetricFilterCount(Integer metricFilterCount)
metricFilterCount
- The number of metric filters associated with the log group.public LogGroup withMetricFilterCount(Integer metricFilterCount)
Returns a reference to this object so that method calls can be chained together.
metricFilterCount
- The number of metric filters associated with the log group.public String getArn()
public void setArn(String arn)
arn
- The new value for the Arn property for this object.public LogGroup withArn(String arn)
Returns a reference to this object so that method calls can be chained together.
arn
- The new value for the Arn property for this object.public Long getStoredBytes()
Constraints:
Range: 0 -
public void setStoredBytes(Long storedBytes)
Constraints:
Range: 0 -
storedBytes
- The new value for the StoredBytes property for this object.public LogGroup withStoredBytes(Long storedBytes)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 -
storedBytes
- The new value for the StoredBytes property for this object.public String toString()
toString
in class Object
Object.toString()
Copyright © 2015. All rights reserved.