Class StatisticSet
java.lang.Object
software.amazon.awssdk.services.cloudwatch.model.StatisticSet
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<StatisticSet.Builder,StatisticSet>
@Generated("software.amazon.awssdk:codegen")
public final class StatisticSet
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<StatisticSet.Builder,StatisticSet>
Represents a set of statistics that describes a specific metric.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic StatisticSet.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Doublemaximum()The maximum value of the sample set.final Doubleminimum()The minimum value of the sample set.final DoubleThe number of samples used for the statistic set.static Class<? extends StatisticSet.Builder>final Doublesum()The sum of values for the sample set.final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
sampleCount
The number of samples used for the statistic set.
- Returns:
- The number of samples used for the statistic set.
-
sum
The sum of values for the sample set.
- Returns:
- The sum of values for the sample set.
-
minimum
The minimum value of the sample set.
- Returns:
- The minimum value of the sample set.
-
maximum
The maximum value of the sample set.
- Returns:
- The maximum value of the sample set.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<StatisticSet.Builder,StatisticSet>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-