@Generated(value="software.amazon.awssdk:codegen") public final class MetricData extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MetricData.Builder,MetricData>
The name, value, and date and time of a metric that was emitted to Amazon CloudWatch.
Modifier and Type | Class and Description |
---|---|
static interface |
MetricData.Builder |
Modifier and Type | Method and Description |
---|---|
static MetricData.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
metricName()
The name of the metric.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends MetricData.Builder> |
serializableBuilderClass() |
Instant |
timestamp()
The date and time that the algorithm emitted the metric.
|
MetricData.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
Float |
value()
The value of the metric.
|
copy
public String metricName()
The name of the metric.
public Float value()
The value of the metric.
public Instant timestamp()
The date and time that the algorithm emitted the metric.
public MetricData.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<MetricData.Builder,MetricData>
public static MetricData.Builder builder()
public static Class<? extends MetricData.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.