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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
StatisticSet.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StatisticSet.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
Double
maximum()
The maximum value of the sample set.Double
minimum()
The minimum value of the sample set.Double
sampleCount()
The number of samples used for the statistic set.List<SdkField<?>>
sdkFields()
static Class<? extends StatisticSet.Builder>
serializableBuilderClass()
Double
sum()
The sum of values for the sample set.StatisticSet.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
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
-
sampleCount
public final Double sampleCount()
The number of samples used for the statistic set.
- Returns:
- The number of samples used for the statistic set.
-
sum
public final Double sum()
The sum of values for the sample set.
- Returns:
- The sum of values for the sample set.
-
minimum
public final Double minimum()
The minimum value of the sample set.
- Returns:
- The minimum value of the sample set.
-
maximum
public final Double maximum()
The maximum value of the sample set.
- Returns:
- The maximum value of the sample set.
-
toBuilder
public StatisticSet.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<StatisticSet.Builder,StatisticSet>
-
builder
public static StatisticSet.Builder builder()
-
serializableBuilderClass
public static Class<? extends StatisticSet.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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.
-
-