@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Statistics extends Object implements Serializable, Cloneable, StructuredPojo
A map of key-value pairs for all supported statistics. Currently, only count is supported.
Constructor and Description |
---|
Statistics() |
Modifier and Type | Method and Description |
---|---|
Statistics |
clone() |
boolean |
equals(Object obj) |
Double |
getAverage()
The average of the aggregated fields.
|
Integer |
getCount()
The count of things that match the query.
|
Double |
getMaximum()
The maximum value of the aggregated fields.
|
Double |
getMinimum()
The minimum value of the aggregated fields.
|
Double |
getStdDeviation()
The standard deviation of the aggregated field values.
|
Double |
getSum()
The sum of the aggregated fields.
|
Double |
getSumOfSquares()
The sum of the squares of the aggregated field values.
|
Double |
getVariance()
The variance of the aggregated field values.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAverage(Double average)
The average of the aggregated fields.
|
void |
setCount(Integer count)
The count of things that match the query.
|
void |
setMaximum(Double maximum)
The maximum value of the aggregated fields.
|
void |
setMinimum(Double minimum)
The minimum value of the aggregated fields.
|
void |
setStdDeviation(Double stdDeviation)
The standard deviation of the aggregated field values.
|
void |
setSum(Double sum)
The sum of the aggregated fields.
|
void |
setSumOfSquares(Double sumOfSquares)
The sum of the squares of the aggregated field values.
|
void |
setVariance(Double variance)
The variance of the aggregated field values.
|
String |
toString()
Returns a string representation of this object.
|
Statistics |
withAverage(Double average)
The average of the aggregated fields.
|
Statistics |
withCount(Integer count)
The count of things that match the query.
|
Statistics |
withMaximum(Double maximum)
The maximum value of the aggregated fields.
|
Statistics |
withMinimum(Double minimum)
The minimum value of the aggregated fields.
|
Statistics |
withStdDeviation(Double stdDeviation)
The standard deviation of the aggregated field values.
|
Statistics |
withSum(Double sum)
The sum of the aggregated fields.
|
Statistics |
withSumOfSquares(Double sumOfSquares)
The sum of the squares of the aggregated field values.
|
Statistics |
withVariance(Double variance)
The variance of the aggregated field values.
|
public void setCount(Integer count)
The count of things that match the query.
count
- The count of things that match the query.public Integer getCount()
The count of things that match the query.
public Statistics withCount(Integer count)
The count of things that match the query.
count
- The count of things that match the query.public void setAverage(Double average)
The average of the aggregated fields. If the field data type is String this value is indeterminate.
average
- The average of the aggregated fields. If the field data type is String this value is indeterminate.public Double getAverage()
The average of the aggregated fields. If the field data type is String this value is indeterminate.
public Statistics withAverage(Double average)
The average of the aggregated fields. If the field data type is String this value is indeterminate.
average
- The average of the aggregated fields. If the field data type is String this value is indeterminate.public void setSum(Double sum)
The sum of the aggregated fields. If the field data type is String this value is indeterminate.
sum
- The sum of the aggregated fields. If the field data type is String this value is indeterminate.public Double getSum()
The sum of the aggregated fields. If the field data type is String this value is indeterminate.
public Statistics withSum(Double sum)
The sum of the aggregated fields. If the field data type is String this value is indeterminate.
sum
- The sum of the aggregated fields. If the field data type is String this value is indeterminate.public void setMinimum(Double minimum)
The minimum value of the aggregated fields. If the field data type is String this value is indeterminate.
minimum
- The minimum value of the aggregated fields. If the field data type is String this value is indeterminate.public Double getMinimum()
The minimum value of the aggregated fields. If the field data type is String this value is indeterminate.
public Statistics withMinimum(Double minimum)
The minimum value of the aggregated fields. If the field data type is String this value is indeterminate.
minimum
- The minimum value of the aggregated fields. If the field data type is String this value is indeterminate.public void setMaximum(Double maximum)
The maximum value of the aggregated fields. If the field data type is String this value is indeterminate.
maximum
- The maximum value of the aggregated fields. If the field data type is String this value is indeterminate.public Double getMaximum()
The maximum value of the aggregated fields. If the field data type is String this value is indeterminate.
public Statistics withMaximum(Double maximum)
The maximum value of the aggregated fields. If the field data type is String this value is indeterminate.
maximum
- The maximum value of the aggregated fields. If the field data type is String this value is indeterminate.public void setSumOfSquares(Double sumOfSquares)
The sum of the squares of the aggregated field values.
sumOfSquares
- The sum of the squares of the aggregated field values.public Double getSumOfSquares()
The sum of the squares of the aggregated field values.
public Statistics withSumOfSquares(Double sumOfSquares)
The sum of the squares of the aggregated field values.
sumOfSquares
- The sum of the squares of the aggregated field values.public void setVariance(Double variance)
The variance of the aggregated field values.
variance
- The variance of the aggregated field values.public Double getVariance()
The variance of the aggregated field values.
public Statistics withVariance(Double variance)
The variance of the aggregated field values.
variance
- The variance of the aggregated field values.public void setStdDeviation(Double stdDeviation)
The standard deviation of the aggregated field values.
stdDeviation
- The standard deviation of the aggregated field values.public Double getStdDeviation()
The standard deviation of the aggregated field values.
public Statistics withStdDeviation(Double stdDeviation)
The standard deviation of the aggregated field values.
stdDeviation
- The standard deviation of the aggregated field values.public String toString()
toString
in class Object
Object.toString()
public Statistics clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.