@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Stats extends Object implements Serializable, Cloneable, StructuredPojo
The minimum, maximum, average, and sum.
Constructor and Description |
---|
Stats() |
Modifier and Type | Method and Description |
---|---|
Stats |
clone() |
boolean |
equals(Object obj) |
Double |
getAvg()
The average of the usage statistics.
|
Double |
getMax()
The maximum among the usage statistics.
|
Double |
getMin()
The minimum of the usage statistics.
|
Double |
getSum()
The sum of the usage statistics.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAvg(Double avg)
The average of the usage statistics.
|
void |
setMax(Double max)
The maximum among the usage statistics.
|
void |
setMin(Double min)
The minimum of the usage statistics.
|
void |
setSum(Double sum)
The sum of the usage statistics.
|
String |
toString()
Returns a string representation of this object.
|
Stats |
withAvg(Double avg)
The average of the usage statistics.
|
Stats |
withMax(Double max)
The maximum among the usage statistics.
|
Stats |
withMin(Double min)
The minimum of the usage statistics.
|
Stats |
withSum(Double sum)
The sum of the usage statistics.
|
public void setAvg(Double avg)
The average of the usage statistics.
avg
- The average of the usage statistics.public Double getAvg()
The average of the usage statistics.
public Stats withAvg(Double avg)
The average of the usage statistics.
avg
- The average of the usage statistics.public void setMax(Double max)
The maximum among the usage statistics.
max
- The maximum among the usage statistics.public Double getMax()
The maximum among the usage statistics.
public Stats withMax(Double max)
The maximum among the usage statistics.
max
- The maximum among the usage statistics.public void setMin(Double min)
The minimum of the usage statistics.
min
- The minimum of the usage statistics.public Double getMin()
The minimum of the usage statistics.
public Stats withMin(Double min)
The minimum of the usage statistics.
min
- The minimum of the usage statistics.public void setSum(Double sum)
The sum of the usage statistics.
sum
- The sum of the usage statistics.public Double getSum()
The sum of the usage statistics.
public Stats withSum(Double sum)
The sum of the usage statistics.
sum
- The sum of the usage statistics.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.