Class Statistics
- java.lang.Object
-
- software.amazon.awssdk.services.iot.model.Statistics
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Statistics.Builder,Statistics>
@Generated("software.amazon.awssdk:codegen") public final class Statistics extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Statistics.Builder,Statistics>
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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStatistics.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Doubleaverage()The average of the aggregated field values.static Statistics.Builderbuilder()Integercount()The count of things that match the query string criteria and contain a valid aggregation field value.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Doublemaximum()The maximum aggregated field value.Doubleminimum()The minimum aggregated field value.List<SdkField<?>>sdkFields()static Class<? extends Statistics.Builder>serializableBuilderClass()DoublestdDeviation()The standard deviation of the aggregated field values.Doublesum()The sum of the aggregated field values.DoublesumOfSquares()The sum of the squares of the aggregated field values.Statistics.BuildertoBuilder()StringtoString()Returns a string representation of this object.Doublevariance()The variance of the aggregated field values.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
count
public final Integer count()
The count of things that match the query string criteria and contain a valid aggregation field value.
- Returns:
- The count of things that match the query string criteria and contain a valid aggregation field value.
-
average
public final Double average()
The average of the aggregated field values.
- Returns:
- The average of the aggregated field values.
-
sum
public final Double sum()
The sum of the aggregated field values.
- Returns:
- The sum of the aggregated field values.
-
minimum
public final Double minimum()
The minimum aggregated field value.
- Returns:
- The minimum aggregated field value.
-
maximum
public final Double maximum()
The maximum aggregated field value.
- Returns:
- The maximum aggregated field value.
-
sumOfSquares
public final Double sumOfSquares()
The sum of the squares of the aggregated field values.
- Returns:
- The sum of the squares of the aggregated field values.
-
variance
public final Double variance()
The variance of the aggregated field values.
- Returns:
- The variance of the aggregated field values.
-
stdDeviation
public final Double stdDeviation()
The standard deviation of the aggregated field values.
- Returns:
- The standard deviation of the aggregated field values.
-
toBuilder
public Statistics.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Statistics.Builder,Statistics>
-
builder
public static Statistics.Builder builder()
-
serializableBuilderClass
public static Class<? extends Statistics.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-