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:
  • Constructor Details

    • LogGroup

      public LogGroup()
  • Method Details

    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public LogGroup clone()
      Overrides:
      clone in class Object