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 interface
MetricDatum.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MetricDatum.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
AutoMLMetricEnum
metricName()
The name of the metric.String
metricNameAsString()
The name of the metric.Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends MetricDatum.Builder>
serializableBuilderClass()
MetricSetSource
set()
The dataset split from which the AutoML job produced the metric.String
setAsString()
The dataset split from which the AutoML job produced the metric.AutoMLMetricExtendedEnum
standardMetricName()
The name of the standard metric.String
standardMetricNameAsString()
The name of the standard metric.MetricDatum.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 AutoMLMetricEnum metricName()
The name of the metric.
If the service returns an enum value that is not available in the current SDK version,
metricName
will 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,
metricName
will 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,
set
will 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,
set
will 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,
standardMetricName
will 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,
standardMetricName
will 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:
toBuilder
in 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:
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
-
-