Interface MetricDefinition.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<MetricDefinition.Builder,MetricDefinition>
,SdkBuilder<MetricDefinition.Builder,MetricDefinition>
,SdkPojo
- Enclosing class:
- MetricDefinition
public static interface MetricDefinition.Builder extends SdkPojo, CopyableBuilder<MetricDefinition.Builder,MetricDefinition>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MetricDefinition.Builder
name(String name)
The name of the metric.MetricDefinition.Builder
regex(String regex)
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, sdkFields
-
-
-
-
Method Detail
-
name
MetricDefinition.Builder name(String 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
MetricDefinition.Builder regex(String 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.
-
-