Class CfnAlgorithmPropsMixin.HyperParameterTuningJobObjectiveProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnAlgorithmPropsMixin.HyperParameterTuningJobObjectiveProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAlgorithmPropsMixin.HyperParameterTuningJobObjectiveProperty>
- Enclosing interface:
CfnAlgorithmPropsMixin.HyperParameterTuningJobObjectiveProperty
@Stability(Stable)
public static final class CfnAlgorithmPropsMixin.HyperParameterTuningJobObjectiveProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAlgorithmPropsMixin.HyperParameterTuningJobObjectiveProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.metricName(String metricName)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
metricName
@Stability(Stable) public CfnAlgorithmPropsMixin.HyperParameterTuningJobObjectiveProperty.Builder metricName(String metricName) - Parameters:
metricName- the value to be set.- Returns:
this
-
type
@Stability(Stable) public CfnAlgorithmPropsMixin.HyperParameterTuningJobObjectiveProperty.Builder type(String type) - Parameters:
type- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAlgorithmPropsMixin.HyperParameterTuningJobObjectiveProperty>- Returns:
- a new instance of
CfnAlgorithmPropsMixin.HyperParameterTuningJobObjectiveProperty - Throws:
NullPointerException- if any required attribute was not provided
-