Class StatisticSet

java.lang.Object
com.amazonaws.services.cloudwatch.model.StatisticSet
All Implemented Interfaces:
Serializable, Cloneable

public class StatisticSet extends Object implements Serializable, Cloneable

The StatisticSet data type describes the StatisticValues component of MetricDatum, and represents a set of statistics that describes a specific metric.

See Also:
  • Constructor Details

    • StatisticSet

      public StatisticSet()
  • Method Details

    • setSampleCount

      public void setSampleCount(Double sampleCount)

      The number of samples used for the statistic set.

      Parameters:
      sampleCount - The number of samples used for the statistic set.
    • getSampleCount

      public Double getSampleCount()

      The number of samples used for the statistic set.

      Returns:
      The number of samples used for the statistic set.
    • withSampleCount

      public StatisticSet withSampleCount(Double sampleCount)

      The number of samples used for the statistic set.

      Parameters:
      sampleCount - The number of samples used for the statistic set.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setSum

      public void setSum(Double sum)

      The sum of values for the sample set.

      Parameters:
      sum - The sum of values for the sample set.
    • getSum

      public Double getSum()

      The sum of values for the sample set.

      Returns:
      The sum of values for the sample set.
    • withSum

      public StatisticSet withSum(Double sum)

      The sum of values for the sample set.

      Parameters:
      sum - The sum of values for the sample set.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setMinimum

      public void setMinimum(Double minimum)

      The minimum value of the sample set.

      Parameters:
      minimum - The minimum value of the sample set.
    • getMinimum

      public Double getMinimum()

      The minimum value of the sample set.

      Returns:
      The minimum value of the sample set.
    • withMinimum

      public StatisticSet withMinimum(Double minimum)

      The minimum value of the sample set.

      Parameters:
      minimum - The minimum value of the sample set.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setMaximum

      public void setMaximum(Double maximum)

      The maximum value of the sample set.

      Parameters:
      maximum - The maximum value of the sample set.
    • getMaximum

      public Double getMaximum()

      The maximum value of the sample set.

      Returns:
      The maximum value of the sample set.
    • withMaximum

      public StatisticSet withMaximum(Double maximum)

      The maximum value of the sample set.

      Parameters:
      maximum - The maximum value of the sample set.
      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 StatisticSet clone()
      Overrides:
      clone in class Object