Class LogGroup
- java.lang.Object
-
- com.amazonaws.services.logs.model.LogGroup
-
- All Implemented Interfaces:
Serializable,Cloneable
public class LogGroup extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LogGroup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LogGroupclone()booleanequals(Object obj)StringgetArn()LonggetCreationTime()StringgetLogGroupName()IntegergetMetricFilterCount()IntegergetRetentionInDays()LonggetStoredBytes()inthashCode()voidsetArn(String arn)voidsetCreationTime(Long creationTime)voidsetLogGroupName(String logGroupName)voidsetMetricFilterCount(Integer metricFilterCount)voidsetRetentionInDays(Integer retentionInDays)voidsetStoredBytes(Long storedBytes)StringtoString()Returns a string representation of this object; useful for testing and debugging.LogGroupwithArn(String arn)LogGroupwithCreationTime(Long creationTime)LogGroupwithLogGroupName(String logGroupName)LogGroupwithMetricFilterCount(Integer metricFilterCount)LogGroupwithRetentionInDays(Integer retentionInDays)LogGroupwithStoredBytes(Long storedBytes)
-
-
-
Method Detail
-
setLogGroupName
public void setLogGroupName(String logGroupName)
- Parameters:
logGroupName-
-
getLogGroupName
public String getLogGroupName()
- Returns:
-
withLogGroupName
public LogGroup withLogGroupName(String logGroupName)
- Parameters:
logGroupName-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCreationTime
public void setCreationTime(Long creationTime)
- Parameters:
creationTime-
-
getCreationTime
public Long getCreationTime()
- Returns:
-
withCreationTime
public LogGroup withCreationTime(Long creationTime)
- Parameters:
creationTime-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRetentionInDays
public void setRetentionInDays(Integer retentionInDays)
- Parameters:
retentionInDays-
-
getRetentionInDays
public Integer getRetentionInDays()
- Returns:
-
withRetentionInDays
public LogGroup withRetentionInDays(Integer retentionInDays)
- Parameters:
retentionInDays-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMetricFilterCount
public void setMetricFilterCount(Integer metricFilterCount)
- Parameters:
metricFilterCount-
-
getMetricFilterCount
public Integer getMetricFilterCount()
- Returns:
-
withMetricFilterCount
public LogGroup withMetricFilterCount(Integer metricFilterCount)
- Parameters:
metricFilterCount-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setArn
public void setArn(String arn)
- Parameters:
arn-
-
getArn
public String getArn()
- Returns:
-
withArn
public LogGroup withArn(String arn)
- Parameters:
arn-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStoredBytes
public void setStoredBytes(Long storedBytes)
- Parameters:
storedBytes-
-
getStoredBytes
public Long getStoredBytes()
- Returns:
-
withStoredBytes
public LogGroup withStoredBytes(Long storedBytes)
- Parameters:
storedBytes-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
-