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 LogGroup
clone()
boolean
equals(Object obj)
String
getArn()
Long
getCreationTime()
String
getLogGroupName()
Integer
getMetricFilterCount()
Integer
getRetentionInDays()
Long
getStoredBytes()
int
hashCode()
void
setArn(String arn)
void
setCreationTime(Long creationTime)
void
setLogGroupName(String logGroupName)
void
setMetricFilterCount(Integer metricFilterCount)
void
setRetentionInDays(Integer retentionInDays)
void
setStoredBytes(Long storedBytes)
String
toString()
Returns a string representation of this object; useful for testing and debugging.LogGroup
withArn(String arn)
LogGroup
withCreationTime(Long creationTime)
LogGroup
withLogGroupName(String logGroupName)
LogGroup
withMetricFilterCount(Integer metricFilterCount)
LogGroup
withRetentionInDays(Integer retentionInDays)
LogGroup
withStoredBytes(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
-