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