Class CfnModelCard.TrainingHyperParameterProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnModelCard.TrainingHyperParameterProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnModelCard.TrainingHyperParameterProperty>
- Enclosing interface:
CfnModelCard.TrainingHyperParameterProperty
@Stability(Stable)
public static final class CfnModelCard.TrainingHyperParameterProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnModelCard.TrainingHyperParameterProperty>
A builder for
CfnModelCard.TrainingHyperParameterProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnModelCard.TrainingHyperParameterProperty.getName()
Sets the value ofCfnModelCard.TrainingHyperParameterProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnModelCard.TrainingHyperParameterProperty.getName()
- Parameters:
name
- The name of the hyper parameter. This parameter is required.- Returns:
this
-
value
Sets the value ofCfnModelCard.TrainingHyperParameterProperty.getValue()
- Parameters:
value
- The value specified for the hyper parameter. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnModelCard.TrainingHyperParameterProperty>
- Returns:
- a new instance of
CfnModelCard.TrainingHyperParameterProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-