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