Class CfnSolution.HpoResourceConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.personalize.CfnSolution.HpoResourceConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSolution.HpoResourceConfigProperty>
- Enclosing interface:
- CfnSolution.HpoResourceConfigProperty
@Stability(Stable)
public static final class CfnSolution.HpoResourceConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSolution.HpoResourceConfigProperty>
A builder for
CfnSolution.HpoResourceConfigProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.maxNumberOfTrainingJobs
(String maxNumberOfTrainingJobs) Sets the value ofCfnSolution.HpoResourceConfigProperty.getMaxNumberOfTrainingJobs()
maxParallelTrainingJobs
(String maxParallelTrainingJobs) Sets the value ofCfnSolution.HpoResourceConfigProperty.getMaxParallelTrainingJobs()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
maxNumberOfTrainingJobs
@Stability(Stable) public CfnSolution.HpoResourceConfigProperty.Builder maxNumberOfTrainingJobs(String maxNumberOfTrainingJobs) Sets the value ofCfnSolution.HpoResourceConfigProperty.getMaxNumberOfTrainingJobs()
- Parameters:
maxNumberOfTrainingJobs
-CfnSolution.HpoResourceConfigProperty.MaxNumberOfTrainingJobs
.- Returns:
this
-
maxParallelTrainingJobs
@Stability(Stable) public CfnSolution.HpoResourceConfigProperty.Builder maxParallelTrainingJobs(String maxParallelTrainingJobs) Sets the value ofCfnSolution.HpoResourceConfigProperty.getMaxParallelTrainingJobs()
- Parameters:
maxParallelTrainingJobs
-CfnSolution.HpoResourceConfigProperty.MaxParallelTrainingJobs
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnSolution.HpoResourceConfigProperty>
- Returns:
- a new instance of
CfnSolution.HpoResourceConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-