Class MetricDatum
- java.lang.Object
-
- software.amazon.awssdk.services.sagemaker.model.MetricDatum
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<MetricDatum.Builder,MetricDatum>
@Generated("software.amazon.awssdk:codegen") public final class MetricDatum extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MetricDatum.Builder,MetricDatum>
Information about the metric for a candidate produced by an AutoML job.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMetricDatum.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MetricDatum.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()AutoMLMetricEnummetricName()The name of the metric.StringmetricNameAsString()The name of the metric.List<SdkField<?>>sdkFields()static Class<? extends MetricDatum.Builder>serializableBuilderClass()MetricSetSourceset()The dataset split from which the AutoML job produced the metric.StringsetAsString()The dataset split from which the AutoML job produced the metric.AutoMLMetricExtendedEnumstandardMetricName()The name of the standard metric.StringstandardMetricNameAsString()The name of the standard metric.MetricDatum.BuildertoBuilder()StringtoString()Returns a string representation of this object.Floatvalue()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 AutoMLMetricEnum metricName()
The name of the metric.
If the service returns an enum value that is not available in the current SDK version,
metricNamewill returnAutoMLMetricEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommetricNameAsString().- Returns:
- The name of the metric.
- See Also:
AutoMLMetricEnum
-
metricNameAsString
public final String metricNameAsString()
The name of the metric.
If the service returns an enum value that is not available in the current SDK version,
metricNamewill returnAutoMLMetricEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommetricNameAsString().- Returns:
- The name of the metric.
- See Also:
AutoMLMetricEnum
-
value
public final Float value()
The value of the metric.
- Returns:
- The value of the metric.
-
set
public final MetricSetSource set()
The dataset split from which the AutoML job produced the metric.
If the service returns an enum value that is not available in the current SDK version,
setwill returnMetricSetSource.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsetAsString().- Returns:
- The dataset split from which the AutoML job produced the metric.
- See Also:
MetricSetSource
-
setAsString
public final String setAsString()
The dataset split from which the AutoML job produced the metric.
If the service returns an enum value that is not available in the current SDK version,
setwill returnMetricSetSource.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsetAsString().- Returns:
- The dataset split from which the AutoML job produced the metric.
- See Also:
MetricSetSource
-
standardMetricName
public final AutoMLMetricExtendedEnum standardMetricName()
The name of the standard metric.
For definitions of the standard metrics, see
Autopilot candidate metrics.If the service returns an enum value that is not available in the current SDK version,
standardMetricNamewill returnAutoMLMetricExtendedEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstandardMetricNameAsString().- Returns:
- The name of the standard metric.
For definitions of the standard metrics, see
Autopilot candidate metrics. - See Also:
AutoMLMetricExtendedEnum
-
standardMetricNameAsString
public final String standardMetricNameAsString()
The name of the standard metric.
For definitions of the standard metrics, see
Autopilot candidate metrics.If the service returns an enum value that is not available in the current SDK version,
standardMetricNamewill returnAutoMLMetricExtendedEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstandardMetricNameAsString().- Returns:
- The name of the standard metric.
For definitions of the standard metrics, see
Autopilot candidate metrics. - See Also:
AutoMLMetricExtendedEnum
-
toBuilder
public MetricDatum.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<MetricDatum.Builder,MetricDatum>
-
builder
public static MetricDatum.Builder builder()
-
serializableBuilderClass
public static Class<? extends MetricDatum.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.
-
-