@Generated(value="software.amazon.awssdk:codegen") public final class MetricDatum extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MetricDatum.Builder,MetricDatum>
Internal only API.
| Modifier and Type | Class and Description |
|---|---|
static interface |
MetricDatum.Builder |
| Modifier and Type | Method and Description |
|---|---|
static MetricDatum.Builder |
builder() |
List<Dimension> |
dimensions()
Internal only API.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasDimensions()
Returns true if the Dimensions property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
int |
hashCode() |
String |
metricName()
Internal only API.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends MetricDatum.Builder> |
serializableBuilderClass() |
StatisticSet |
statisticValues()
Internal only API.
|
Instant |
timestamp()
Internal only API.
|
MetricDatum.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Unit |
unit()
Returns the value of the Unit property for this object.
|
String |
unitAsString()
Returns the value of the Unit property for this object.
|
Double |
value()
Internal only API.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasDimensions()
public final List<Dimension> dimensions()
Internal only API.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasDimensions() to see if a value was sent in this field.
public final String metricName()
Internal only API.
public final StatisticSet statisticValues()
Internal only API.
public final Instant timestamp()
Internal only API.
public final Unit unit()
If the service returns an enum value that is not available in the current SDK version, unit will return
Unit.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
unitAsString().
Unitpublic final String unitAsString()
If the service returns an enum value that is not available in the current SDK version, unit will return
Unit.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
unitAsString().
Unitpublic final Double value()
Internal only API.
public MetricDatum.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<MetricDatum.Builder,MetricDatum>public static MetricDatum.Builder builder()
public static Class<? extends MetricDatum.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.