Interface HPOObjective.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<HPOObjective.Builder,,HPOObjective> SdkBuilder<HPOObjective.Builder,,HPOObjective> SdkPojo
- Enclosing class:
HPOObjective
@Mutable
@NotThreadSafe
public static interface HPOObjective.Builder
extends SdkPojo, CopyableBuilder<HPOObjective.Builder,HPOObjective>
-
Method Summary
Modifier and TypeMethodDescriptionmetricName(String metricName) The name of the metric.metricRegex(String metricRegex) A regular expression for finding the metric in the training job logs.The type of the metric.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
type
The type of the metric. Valid values are
MaximizeandMinimize.- Parameters:
type- The type of the metric. Valid values areMaximizeandMinimize.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricName
The name of the metric.
- Parameters:
metricName- The name of the metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricRegex
A regular expression for finding the metric in the training job logs.
- Parameters:
metricRegex- A regular expression for finding the metric in the training job logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-