Interface MetricDefinition.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<MetricDefinition.Builder,
,MetricDefinition> SdkBuilder<MetricDefinition.Builder,
,MetricDefinition> SdkPojo
- Enclosing class:
MetricDefinition
@Mutable
@NotThreadSafe
public static interface MetricDefinition.Builder
extends SdkPojo, CopyableBuilder<MetricDefinition.Builder,MetricDefinition>
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the metric.A regular expression that searches the output of a training job and gets the value 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, sdkFieldNameToField, sdkFields
-
Method Details
-
name
The name of the metric.
- Parameters:
name
- The name of the metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regex
A regular expression that searches the output of a training job and gets the value of the metric. For more information about using regular expressions to define metrics, see Defining metrics and environment variables.
- Parameters:
regex
- A regular expression that searches the output of a training job and gets the value of the metric. For more information about using regular expressions to define metrics, see Defining metrics and environment variables.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-