@Generated(value="software.amazon.awssdk:codegen") public final class EdgeMetric extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EdgeMetric.Builder,EdgeMetric>
Information required for edge device metrics.
| Modifier and Type | Class and Description |
|---|---|
static interface |
EdgeMetric.Builder |
| Modifier and Type | Method and Description |
|---|---|
static EdgeMetric.Builder |
builder() |
String |
dimension()
The dimension of metrics published.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
metricName()
Returns the name of the metric.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends EdgeMetric.Builder> |
serializableBuilderClass() |
Instant |
timestamp()
Timestamp of when the metric was requested.
|
EdgeMetric.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Double |
value()
Returns the value of the metric.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String dimension()
The dimension of metrics published.
public final String metricName()
Returns the name of the metric.
public final Double value()
Returns the value of the metric.
public final Instant timestamp()
Timestamp of when the metric was requested.
public EdgeMetric.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<EdgeMetric.Builder,EdgeMetric>public static EdgeMetric.Builder builder()
public static Class<? extends EdgeMetric.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.