Class StatisticSet
java.lang.Object
com.amazonaws.services.cloudwatch.model.StatisticSet
- All Implemented Interfaces:
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe maximum value of the sample set.The minimum value of the sample set.The number of samples used for the statistic set.getSum()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.voidThe sum of values for the sample set.toString()Returns a string representation of this object; useful for testing and debugging.withMaximum(Double maximum) The maximum value of the sample set.withMinimum(Double minimum) The minimum value of the sample set.withSampleCount(Double sampleCount) The number of samples used for the statistic set.The sum of values for the sample set.
-
Constructor Details
-
StatisticSet
public StatisticSet()
-
-
Method Details
-
setSampleCount
The number of samples used for the statistic set.
- Parameters:
sampleCount- The number of samples used for the statistic set.
-
getSampleCount
The number of samples used for the statistic set.
- Returns:
- The number of samples used for the statistic set.
-
withSampleCount
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
The sum of values for the sample set.
- Parameters:
sum- The sum of values for the sample set.
-
getSum
The sum of values for the sample set.
- Returns:
- The sum of values for the sample set.
-
withSum
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
The minimum value of the sample set.
- Parameters:
minimum- The minimum value of the sample set.
-
getMinimum
The minimum value of the sample set.
- Returns:
- The minimum value of the sample set.
-
withMinimum
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
The maximum value of the sample set.
- Parameters:
maximum- The maximum value of the sample set.
-
getMaximum
The maximum value of the sample set.
- Returns:
- The maximum value of the sample set.
-
withMaximum
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-