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
StatisticSetdata type describes theStatisticValuescomponent of MetricDatum, and represents a set of statistics that describes a specific metric.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StatisticSet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StatisticSetclone()booleanequals(Object obj)DoublegetMaximum()The maximum value of the sample set.DoublegetMinimum()The minimum value of the sample set.DoublegetSampleCount()The number of samples used for the statistic set.DoublegetSum()The sum of values for the sample set.inthashCode()voidsetMaximum(Double maximum)The maximum value of the sample set.voidsetMinimum(Double minimum)The minimum value of the sample set.voidsetSampleCount(Double sampleCount)The number of samples used for the statistic set.voidsetSum(Double sum)The sum of values for the sample set.StringtoString()Returns a string representation of this object; useful for testing and debugging.StatisticSetwithMaximum(Double maximum)The maximum value of the sample set.StatisticSetwithMinimum(Double minimum)The minimum value of the sample set.StatisticSetwithSampleCount(Double sampleCount)The number of samples used for the statistic set.StatisticSetwithSum(Double sum)The sum of values for the sample set.
-
-
-
Method Detail
-
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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public StatisticSet clone()
-
-