com.amazonaws.services.cloudwatch.model
Class StatisticSet

java.lang.Object
  extended by com.amazonaws.services.cloudwatch.model.StatisticSet

public class StatisticSet
extends Object

The StatisticSet data type describes the StatisticValues component of MetricDatum, and represents a set of statistics that describes a specific metric.


Constructor Summary
StatisticSet()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StatisticSet

public StatisticSet()
Method Detail

getSampleCount

public Double getSampleCount()
The number of samples used for the statistic set.

Returns:
The number of samples used for the statistic set.

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.

withSampleCount

public StatisticSet withSampleCount(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.

Parameters:
sampleCount - The number of samples used for the statistic set.
Returns:
A reference to this updated object so that method calls can be chained together.

getSum

public Double getSum()
The sum of values for the sample set.

Returns:
The sum of values for the sample set.

setSum

public void setSum(Double sum)
The sum of values for the sample set.

Parameters:
sum - The sum of values for the sample set.

withSum

public StatisticSet withSum(Double sum)
The sum of values for the sample set.

Returns a reference to this object so that method calls can be chained together.

Parameters:
sum - The sum of values for the sample set.
Returns:
A reference to this updated object so that method calls can be chained together.

getMinimum

public Double getMinimum()
The minimum value of the sample set.

Returns:
The minimum value of the sample set.

setMinimum

public void setMinimum(Double minimum)
The minimum value of the sample set.

Parameters:
minimum - The minimum value of the sample set.

withMinimum

public StatisticSet withMinimum(Double minimum)
The minimum value of the sample set.

Returns a reference to this object so that method calls can be chained together.

Parameters:
minimum - The minimum value of the sample set.
Returns:
A reference to this updated object so that method calls can be chained together.

getMaximum

public Double getMaximum()
The maximum value of the sample set.

Returns:
The maximum value of the sample set.

setMaximum

public void setMaximum(Double maximum)
The maximum value of the sample set.

Parameters:
maximum - The maximum value of the sample set.

withMaximum

public StatisticSet withMaximum(Double maximum)
The maximum value of the sample set.

Returns a reference to this object so that method calls can be chained together.

Parameters:
maximum - The maximum value of the sample set.
Returns:
A reference to this updated 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 class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.