@Stability(value=Stable) public static final class CfnSolution.HpoObjectiveProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnSolution.HpoObjectiveProperty>
CfnSolution.HpoObjectiveProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnSolution.HpoObjectiveProperty |
build()
Builds the configured instance.
|
CfnSolution.HpoObjectiveProperty.Builder |
metricName(String metricName)
Sets the value of
CfnSolution.HpoObjectiveProperty.getMetricName() |
CfnSolution.HpoObjectiveProperty.Builder |
metricRegex(String metricRegex)
Sets the value of
CfnSolution.HpoObjectiveProperty.getMetricRegex() |
CfnSolution.HpoObjectiveProperty.Builder |
type(String type)
Sets the value of
CfnSolution.HpoObjectiveProperty.getType() |
@Stability(value=Stable) public CfnSolution.HpoObjectiveProperty.Builder metricName(String metricName)
CfnSolution.HpoObjectiveProperty.getMetricName()metricName - The name of the metric.this@Stability(value=Stable) public CfnSolution.HpoObjectiveProperty.Builder metricRegex(String metricRegex)
CfnSolution.HpoObjectiveProperty.getMetricRegex()metricRegex - A regular expression for finding the metric in the training job logs.this@Stability(value=Stable) public CfnSolution.HpoObjectiveProperty.Builder type(String type)
CfnSolution.HpoObjectiveProperty.getType()type - The type of the metric.
Valid values are Maximize and Minimize .this@Stability(value=Stable) public CfnSolution.HpoObjectiveProperty build()
build in interface software.amazon.jsii.Builder<CfnSolution.HpoObjectiveProperty>CfnSolution.HpoObjectivePropertyNullPointerException - if any required attribute was not providedCopyright © 2023. All rights reserved.