Class RawMetricData
- java.lang.Object
-
- software.amazon.awssdk.services.sagemakermetrics.model.RawMetricData
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RawMetricData.Builder,RawMetricData>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRawMetricData.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RawMetricData.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringmetricName()The name of the metric.List<SdkField<?>>sdkFields()static Class<? extends RawMetricData.Builder>serializableBuilderClass()Integerstep()The metric step (epoch).Instanttimestamp()The time that the metric was recorded.RawMetricData.BuildertoBuilder()StringtoString()Returns a string representation of this object.Doublevalue()The metric value.-
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
-
metricName
public final String metricName()
The name of the metric.
- Returns:
- The name of the metric.
-
timestamp
public final Instant timestamp()
The time that the metric was recorded.
- Returns:
- The time that the metric was recorded.
-
step
public final Integer step()
The metric step (epoch).
- Returns:
- The metric step (epoch).
-
value
public final Double value()
The metric value.
- Returns:
- The metric value.
-
toBuilder
public RawMetricData.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RawMetricData.Builder,RawMetricData>
-
builder
public static RawMetricData.Builder builder()
-
serializableBuilderClass
public static Class<? extends RawMetricData.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.
-
-