@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. For issues with missing or unexpected values for this API, consult Fleet indexing troubleshooting guide.
Constructor and Description |
---|
Statistics() |
Modifier and Type | Method and Description |
---|---|
Statistics |
clone() |
boolean |
equals(Object obj) |
Double |
getAverage()
The average of the aggregated field values.
|
Integer |
getCount()
The count of things that match the query string criteria and contain a valid aggregation field value.
|
Double |
getMaximum()
The maximum aggregated field value.
|
Double |
getMinimum()
The minimum aggregated field value.
|
Double |
getStdDeviation()
The standard deviation of the aggregated field values.
|
Double |
getSum()
The sum of the aggregated field values.
|
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 field values.
|
void |
setCount(Integer count)
The count of things that match the query string criteria and contain a valid aggregation field value.
|
void |
setMaximum(Double maximum)
The maximum aggregated field value.
|
void |
setMinimum(Double minimum)
The minimum aggregated field value.
|
void |
setStdDeviation(Double stdDeviation)
The standard deviation of the aggregated field values.
|
void |
setSum(Double sum)
The sum of the aggregated field values.
|
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 field values.
|
Statistics |
withCount(Integer count)
The count of things that match the query string criteria and contain a valid aggregation field value.
|
Statistics |
withMaximum(Double maximum)
The maximum aggregated field value.
|
Statistics |
withMinimum(Double minimum)
The minimum aggregated field value.
|
Statistics |
withStdDeviation(Double stdDeviation)
The standard deviation of the aggregated field values.
|
Statistics |
withSum(Double sum)
The sum of the aggregated field values.
|
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 string criteria and contain a valid aggregation field value.
count
- The count of things that match the query string criteria and contain a valid aggregation field value.public Integer getCount()
The count of things that match the query string criteria and contain a valid aggregation field value.
public Statistics withCount(Integer count)
The count of things that match the query string criteria and contain a valid aggregation field value.
count
- The count of things that match the query string criteria and contain a valid aggregation field value.public void setAverage(Double average)
The average of the aggregated field values.
average
- The average of the aggregated field values.public Double getAverage()
The average of the aggregated field values.
public Statistics withAverage(Double average)
The average of the aggregated field values.
average
- The average of the aggregated field values.public void setSum(Double sum)
The sum of the aggregated field values.
sum
- The sum of the aggregated field values.public Double getSum()
The sum of the aggregated field values.
public Statistics withSum(Double sum)
The sum of the aggregated field values.
sum
- The sum of the aggregated field values.public void setMinimum(Double minimum)
The minimum aggregated field value.
minimum
- The minimum aggregated field value.public Double getMinimum()
The minimum aggregated field value.
public Statistics withMinimum(Double minimum)
The minimum aggregated field value.
minimum
- The minimum aggregated field value.public void setMaximum(Double maximum)
The maximum aggregated field value.
maximum
- The maximum aggregated field value.public Double getMaximum()
The maximum aggregated field value.
public Statistics withMaximum(Double maximum)
The maximum aggregated field value.
maximum
- The maximum aggregated field value.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.