Class MetricData
- java.lang.Object
-
- software.amazon.awssdk.services.sagemaker.model.MetricData
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<MetricData.Builder,MetricData>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
MetricData.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MetricData.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.Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends MetricData.Builder>
serializableBuilderClass()
Instant
timestamp()
The date and time that the algorithm emitted the metric.MetricData.Builder
toBuilder()
String
toString()
Returns a string representation of this object.Float
value()
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
-
metricName
public final String metricName()
The name of the metric.
- Returns:
- The name of the metric.
-
value
public final Float value()
The value of the metric.
- Returns:
- The value of the metric.
-
timestamp
public final Instant timestamp()
The date and time that the algorithm emitted the metric.
- Returns:
- The date and time that the algorithm emitted the metric.
-
toBuilder
public MetricData.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<MetricData.Builder,MetricData>
-
builder
public static MetricData.Builder builder()
-
serializableBuilderClass
public static Class<? extends MetricData.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-