Class HPOObjective
- java.lang.Object
-
- software.amazon.awssdk.services.personalize.model.HPOObjective
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<HPOObjective.Builder,HPOObjective>
@Generated("software.amazon.awssdk:codegen") public final class HPOObjective extends Object implements SdkPojo, Serializable, ToCopyableBuilder<HPOObjective.Builder,HPOObjective>
The metric to optimize during hyperparameter optimization (HPO).
Amazon Personalize doesn't support configuring the
hpoObjectiveat this time.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceHPOObjective.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HPOObjective.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringmetricName()The name of the metric.StringmetricRegex()A regular expression for finding the metric in the training job logs.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends HPOObjective.Builder>serializableBuilderClass()HPOObjective.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringtype()The type 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
-
type
public final String type()
The type of the metric. Valid values are
MaximizeandMinimize.- Returns:
- The type of the metric. Valid values are
MaximizeandMinimize.
-
metricName
public final String metricName()
The name of the metric.
- Returns:
- The name of the metric.
-
metricRegex
public final String metricRegex()
A regular expression for finding the metric in the training job logs.
- Returns:
- A regular expression for finding the metric in the training job logs.
-
toBuilder
public HPOObjective.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<HPOObjective.Builder,HPOObjective>
-
builder
public static HPOObjective.Builder builder()
-
serializableBuilderClass
public static Class<? extends HPOObjective.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
-
-