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 theStatisticValues
component 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 StatisticSet
clone()
boolean
equals(Object obj)
Double
getMaximum()
The maximum value of the sample set.Double
getMinimum()
The minimum value of the sample set.Double
getSampleCount()
The number of samples used for the statistic set.Double
getSum()
The sum of values for the sample set.int
hashCode()
void
setMaximum(Double maximum)
The maximum value of the sample set.void
setMinimum(Double minimum)
The minimum value of the sample set.void
setSampleCount(Double sampleCount)
The number of samples used for the statistic set.void
setSum(Double sum)
The sum of values for the sample set.String
toString()
Returns a string representation of this object; useful for testing and debugging.StatisticSet
withMaximum(Double maximum)
The maximum value of the sample set.StatisticSet
withMinimum(Double minimum)
The minimum value of the sample set.StatisticSet
withSampleCount(Double sampleCount)
The number of samples used for the statistic set.StatisticSet
withSum(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public StatisticSet clone()
-
-