Class EdgeMetric
- java.lang.Object
-
- software.amazon.awssdk.services.sagemakeredge.model.EdgeMetric
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EdgeMetric.Builder,EdgeMetric>
@Generated("software.amazon.awssdk:codegen") public final class EdgeMetric extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EdgeMetric.Builder,EdgeMetric>
Information required for edge device metrics.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEdgeMetric.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EdgeMetric.Builderbuilder()Stringdimension()The dimension of metrics published.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringmetricName()Returns the name of the metric.List<SdkField<?>>sdkFields()static Class<? extends EdgeMetric.Builder>serializableBuilderClass()Instanttimestamp()Timestamp of when the metric was requested.EdgeMetric.BuildertoBuilder()StringtoString()Returns a string representation of this object.Doublevalue()Returns the value of the metric.-
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
-
dimension
public final String dimension()
The dimension of metrics published.
- Returns:
- The dimension of metrics published.
-
metricName
public final String metricName()
Returns the name of the metric.
- Returns:
- Returns the name of the metric.
-
value
public final Double value()
Returns the value of the metric.
- Returns:
- Returns the value of the metric.
-
timestamp
public final Instant timestamp()
Timestamp of when the metric was requested.
- Returns:
- Timestamp of when the metric was requested.
-
toBuilder
public EdgeMetric.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EdgeMetric.Builder,EdgeMetric>
-
builder
public static EdgeMetric.Builder builder()
-
serializableBuilderClass
public static Class<? extends EdgeMetric.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin 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.
-
-