Interface HPOObjective.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<HPOObjective.Builder,
,HPOObjective> SdkBuilder<HPOObjective.Builder,
,HPOObjective> SdkPojo
- Enclosing class:
HPOObjective
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
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
type
The type of the metric. Valid values are
Maximize
andMinimize
.- Parameters:
type
- The type of the metric. Valid values areMaximize
andMinimize
.- 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.
-