Class MetricDefinition
- java.lang.Object
-
- software.amazon.awssdk.services.cleanroomsml.model.MetricDefinition
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<MetricDefinition.Builder,MetricDefinition>
@Generated("software.amazon.awssdk:codegen") public final class MetricDefinition extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MetricDefinition.Builder,MetricDefinition>
Information about the model metric that is reported for a trained model.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMetricDefinition.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MetricDefinition.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()The name of the model metric.Stringregex()The regular expression statement that defines how the model metric is reported.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends MetricDefinition.Builder>serializableBuilderClass()MetricDefinition.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
name
public final String name()
The name of the model metric.
- Returns:
- The name of the model metric.
-
regex
public final String regex()
The regular expression statement that defines how the model metric is reported.
- Returns:
- The regular expression statement that defines how the model metric is reported.
-
toBuilder
public MetricDefinition.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<MetricDefinition.Builder,MetricDefinition>
-
builder
public static MetricDefinition.Builder builder()
-
serializableBuilderClass
public static Class<? extends MetricDefinition.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-