Class CfnSolution.ContinuousHyperParameterRangeProperty.Builder
java.lang.Object
software.amazon.awscdk.services.personalize.CfnSolution.ContinuousHyperParameterRangeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSolution.ContinuousHyperParameterRangeProperty>
- Enclosing interface:
- CfnSolution.ContinuousHyperParameterRangeProperty
@Stability(Stable)
public static final class CfnSolution.ContinuousHyperParameterRangeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSolution.ContinuousHyperParameterRangeProperty>
A builder for
CfnSolution.ContinuousHyperParameterRangeProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnSolution.ContinuousHyperParameterRangeProperty.getMaxValue()Sets the value ofCfnSolution.ContinuousHyperParameterRangeProperty.getMinValue()Sets the value ofCfnSolution.ContinuousHyperParameterRangeProperty.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
maxValue
@Stability(Stable) public CfnSolution.ContinuousHyperParameterRangeProperty.Builder maxValue(Number maxValue) Sets the value ofCfnSolution.ContinuousHyperParameterRangeProperty.getMaxValue()- Parameters:
maxValue-CfnSolution.ContinuousHyperParameterRangeProperty.MaxValue.- Returns:
this
-
minValue
@Stability(Stable) public CfnSolution.ContinuousHyperParameterRangeProperty.Builder minValue(Number minValue) Sets the value ofCfnSolution.ContinuousHyperParameterRangeProperty.getMinValue()- Parameters:
minValue-CfnSolution.ContinuousHyperParameterRangeProperty.MinValue.- Returns:
this
-
name
@Stability(Stable) public CfnSolution.ContinuousHyperParameterRangeProperty.Builder name(String name) Sets the value ofCfnSolution.ContinuousHyperParameterRangeProperty.getName()- Parameters:
name-CfnSolution.ContinuousHyperParameterRangeProperty.Name.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSolution.ContinuousHyperParameterRangeProperty>- Returns:
- a new instance of
CfnSolution.ContinuousHyperParameterRangeProperty - Throws:
NullPointerException- if any required attribute was not provided
-