@Generated(value="software.amazon.awssdk:codegen") public final class RawMetricData extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RawMetricData.Builder,RawMetricData>
The raw metric data to associate with the resource.
| Modifier and Type | Class and Description |
|---|---|
static interface |
RawMetricData.Builder |
| Modifier and Type | Method and Description |
|---|---|
static RawMetricData.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(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 RawMetricData.Builder> |
serializableBuilderClass() |
Integer |
step()
The metric step (epoch).
|
Instant |
timestamp()
The time that the metric was recorded.
|
RawMetricData.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Double |
value()
The metric value.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String metricName()
The name of the metric.
public final Instant timestamp()
The time that the metric was recorded.
public final Integer step()
The metric step (epoch).
public final Double value()
The metric value.
public RawMetricData.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RawMetricData.Builder,RawMetricData>public static RawMetricData.Builder builder()
public static Class<? extends RawMetricData.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.