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()
boolean
The 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.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
The 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
-