@Stability(value=Experimental) public static final class MetricDefinition.Builder extends Object implements software.amazon.jsii.Builder<MetricDefinition>
MetricDefinition| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
MetricDefinition |
build()
Builds the configured instance.
|
MetricDefinition.Builder |
name(String name)
Sets the value of
MetricDefinition.getName() |
MetricDefinition.Builder |
regex(String regex)
Sets the value of
MetricDefinition.getRegex() |
@Stability(value=Experimental) public MetricDefinition.Builder name(String name)
MetricDefinition.getName()name - Name of the metric. This parameter is required.this@Stability(value=Experimental) public MetricDefinition.Builder regex(String regex)
MetricDefinition.getRegex()regex - Regular expression that searches the output of a training job and gets the value of the metric. This parameter is required.this@Stability(value=Experimental) public MetricDefinition build()
build in interface software.amazon.jsii.Builder<MetricDefinition>MetricDefinitionNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.