@Generated(value="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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
MetricDatum.Builder |
| Modifier and Type | Method and 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.
|
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.
|
MetricDatum.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Float |
value()
The value of the metric.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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
return AutoMLMetricEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
metricNameAsString().
AutoMLMetricEnumpublic 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
return AutoMLMetricEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
metricNameAsString().
AutoMLMetricEnumpublic final Float value()
The value of the metric.
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 return
MetricSetSource.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
setAsString().
MetricSetSourcepublic 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 return
MetricSetSource.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
setAsString().
MetricSetSourcepublic MetricDatum.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<MetricDatum.Builder,MetricDatum>public static MetricDatum.Builder builder()
public static Class<? extends MetricDatum.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.