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