public class StatisticSet
extends java.lang.Object
implements java.io.Serializable
The StatisticSet
data type describes the
StatisticValues
component of MetricDatum, and represents
a set of statistics that describes a specific metric.
Constructor and Description |
---|
StatisticSet() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Double |
getMaximum()
The maximum value of the sample set.
|
java.lang.Double |
getMinimum()
The minimum value of the sample set.
|
java.lang.Double |
getSampleCount()
The number of samples used for the statistic set.
|
java.lang.Double |
getSum()
The sum of values for the sample set.
|
int |
hashCode() |
void |
setMaximum(java.lang.Double maximum)
The maximum value of the sample set.
|
void |
setMinimum(java.lang.Double minimum)
The minimum value of the sample set.
|
void |
setSampleCount(java.lang.Double sampleCount)
The number of samples used for the statistic set.
|
void |
setSum(java.lang.Double sum)
The sum of values for the sample set.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
StatisticSet |
withMaximum(java.lang.Double maximum)
The maximum value of the sample set.
|
StatisticSet |
withMinimum(java.lang.Double minimum)
The minimum value of the sample set.
|
StatisticSet |
withSampleCount(java.lang.Double sampleCount)
The number of samples used for the statistic set.
|
StatisticSet |
withSum(java.lang.Double sum)
The sum of values for the sample set.
|
public java.lang.Double getSampleCount()
The number of samples used for the statistic set.
The number of samples used for the statistic set.
public void setSampleCount(java.lang.Double sampleCount)
The number of samples used for the statistic set.
sampleCount
- The number of samples used for the statistic set.
public StatisticSet withSampleCount(java.lang.Double sampleCount)
The number of samples used for the statistic set.
Returns a reference to this object so that method calls can be chained together.
sampleCount
- The number of samples used for the statistic set.
public java.lang.Double getSum()
The sum of values for the sample set.
The sum of values for the sample set.
public void setSum(java.lang.Double sum)
The sum of values for the sample set.
sum
- The sum of values for the sample set.
public StatisticSet withSum(java.lang.Double sum)
The sum of values for the sample set.
Returns a reference to this object so that method calls can be chained together.
sum
- The sum of values for the sample set.
public java.lang.Double getMinimum()
The minimum value of the sample set.
The minimum value of the sample set.
public void setMinimum(java.lang.Double minimum)
The minimum value of the sample set.
minimum
- The minimum value of the sample set.
public StatisticSet withMinimum(java.lang.Double minimum)
The minimum value of the sample set.
Returns a reference to this object so that method calls can be chained together.
minimum
- The minimum value of the sample set.
public java.lang.Double getMaximum()
The maximum value of the sample set.
The maximum value of the sample set.
public void setMaximum(java.lang.Double maximum)
The maximum value of the sample set.
maximum
- The maximum value of the sample set.
public StatisticSet withMaximum(java.lang.Double maximum)
The maximum value of the sample set.
Returns a reference to this object so that method calls can be chained together.
maximum
- The maximum value of the sample set.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.