Class CfnSolution.HpoConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.personalize.CfnSolution.HpoConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSolution.HpoConfigProperty>
- Enclosing interface:
CfnSolution.HpoConfigProperty
@Stability(Stable)
public static final class CfnSolution.HpoConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSolution.HpoConfigProperty>
A builder for
CfnSolution.HpoConfigProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionalgorithmHyperParameterRanges
(IResolvable algorithmHyperParameterRanges) Sets the value ofCfnSolution.HpoConfigProperty.getAlgorithmHyperParameterRanges()
algorithmHyperParameterRanges
(CfnSolution.AlgorithmHyperParameterRangesProperty algorithmHyperParameterRanges) Sets the value ofCfnSolution.HpoConfigProperty.getAlgorithmHyperParameterRanges()
build()
Builds the configured instance.hpoObjective
(IResolvable hpoObjective) Sets the value ofCfnSolution.HpoConfigProperty.getHpoObjective()
hpoObjective
(CfnSolution.HpoObjectiveProperty hpoObjective) Sets the value ofCfnSolution.HpoConfigProperty.getHpoObjective()
hpoResourceConfig
(IResolvable hpoResourceConfig) Sets the value ofCfnSolution.HpoConfigProperty.getHpoResourceConfig()
hpoResourceConfig
(CfnSolution.HpoResourceConfigProperty hpoResourceConfig) Sets the value ofCfnSolution.HpoConfigProperty.getHpoResourceConfig()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
algorithmHyperParameterRanges
@Stability(Stable) public CfnSolution.HpoConfigProperty.Builder algorithmHyperParameterRanges(IResolvable algorithmHyperParameterRanges) Sets the value ofCfnSolution.HpoConfigProperty.getAlgorithmHyperParameterRanges()
- Parameters:
algorithmHyperParameterRanges
-CfnSolution.HpoConfigProperty.AlgorithmHyperParameterRanges
.- Returns:
this
-
algorithmHyperParameterRanges
@Stability(Stable) public CfnSolution.HpoConfigProperty.Builder algorithmHyperParameterRanges(CfnSolution.AlgorithmHyperParameterRangesProperty algorithmHyperParameterRanges) Sets the value ofCfnSolution.HpoConfigProperty.getAlgorithmHyperParameterRanges()
- Parameters:
algorithmHyperParameterRanges
-CfnSolution.HpoConfigProperty.AlgorithmHyperParameterRanges
.- Returns:
this
-
hpoObjective
@Stability(Stable) public CfnSolution.HpoConfigProperty.Builder hpoObjective(IResolvable hpoObjective) Sets the value ofCfnSolution.HpoConfigProperty.getHpoObjective()
- Parameters:
hpoObjective
-CfnSolution.HpoConfigProperty.HpoObjective
.- Returns:
this
-
hpoObjective
@Stability(Stable) public CfnSolution.HpoConfigProperty.Builder hpoObjective(CfnSolution.HpoObjectiveProperty hpoObjective) Sets the value ofCfnSolution.HpoConfigProperty.getHpoObjective()
- Parameters:
hpoObjective
-CfnSolution.HpoConfigProperty.HpoObjective
.- Returns:
this
-
hpoResourceConfig
@Stability(Stable) public CfnSolution.HpoConfigProperty.Builder hpoResourceConfig(IResolvable hpoResourceConfig) Sets the value ofCfnSolution.HpoConfigProperty.getHpoResourceConfig()
- Parameters:
hpoResourceConfig
-CfnSolution.HpoConfigProperty.HpoResourceConfig
.- Returns:
this
-
hpoResourceConfig
@Stability(Stable) public CfnSolution.HpoConfigProperty.Builder hpoResourceConfig(CfnSolution.HpoResourceConfigProperty hpoResourceConfig) Sets the value ofCfnSolution.HpoConfigProperty.getHpoResourceConfig()
- Parameters:
hpoResourceConfig
-CfnSolution.HpoConfigProperty.HpoResourceConfig
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnSolution.HpoConfigProperty>
- Returns:
- a new instance of
CfnSolution.HpoConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-