public class StatisticSet extends Object implements Serializable, Cloneable
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 |
---|---|
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.
|
public Double getSampleCount()
public void setSampleCount(Double sampleCount)
sampleCount
- The number of samples used for the statistic set.public StatisticSet withSampleCount(Double sampleCount)
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 Double getSum()
public void setSum(Double sum)
sum
- The sum of values for the sample set.public StatisticSet withSum(Double sum)
Returns a reference to this object so that method calls can be chained together.
sum
- The sum of values for the sample set.public Double getMinimum()
public void setMinimum(Double minimum)
minimum
- The minimum value of the sample set.public StatisticSet withMinimum(Double minimum)
Returns a reference to this object so that method calls can be chained together.
minimum
- The minimum value of the sample set.public Double getMaximum()
public void setMaximum(Double maximum)
maximum
- The maximum value of the sample set.public StatisticSet withMaximum(Double maximum)
Returns a reference to this object so that method calls can be chained together.
maximum
- The maximum value of the sample set.public String toString()
toString
in class Object
Object.toString()
public StatisticSet clone()
Copyright © 2015. All rights reserved.