Class CfnSolutionPropsMixin.SolutionConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.personalize.CfnSolutionPropsMixin.SolutionConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSolutionPropsMixin.SolutionConfigProperty>
- Enclosing interface:
CfnSolutionPropsMixin.SolutionConfigProperty
@Stability(Stable)
public static final class CfnSolutionPropsMixin.SolutionConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSolutionPropsMixin.SolutionConfigProperty>
A builder for
CfnSolutionPropsMixin.SolutionConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionalgorithmHyperParameters(Map<String, String> algorithmHyperParameters) algorithmHyperParameters(IResolvable algorithmHyperParameters) autoMlConfig(Object autoMlConfig) Sets the value ofCfnSolutionPropsMixin.SolutionConfigProperty.getAutoMlConfig()build()Builds the configured instance.eventValueThreshold(String eventValueThreshold) Sets the value ofCfnSolutionPropsMixin.SolutionConfigProperty.getEventValueThreshold()featureTransformationParameters(Map<String, String> featureTransformationParameters) featureTransformationParameters(IResolvable featureTransformationParameters) Sets the value ofCfnSolutionPropsMixin.SolutionConfigProperty.getHpoConfig()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
algorithmHyperParameters
@Stability(Stable) public CfnSolutionPropsMixin.SolutionConfigProperty.Builder algorithmHyperParameters(Map<String, String> algorithmHyperParameters) - Parameters:
algorithmHyperParameters- Lists the algorithm hyperparameters and their values.- Returns:
this
-
algorithmHyperParameters
@Stability(Stable) public CfnSolutionPropsMixin.SolutionConfigProperty.Builder algorithmHyperParameters(IResolvable algorithmHyperParameters) - Parameters:
algorithmHyperParameters- Lists the algorithm hyperparameters and their values.- Returns:
this
-
autoMlConfig
@Stability(Stable) public CfnSolutionPropsMixin.SolutionConfigProperty.Builder autoMlConfig(Object autoMlConfig) Sets the value ofCfnSolutionPropsMixin.SolutionConfigProperty.getAutoMlConfig()- Parameters:
autoMlConfig- The AutoMLConfig object containing a list of recipes to search when AutoML is performed.- Returns:
this
-
eventValueThreshold
@Stability(Stable) public CfnSolutionPropsMixin.SolutionConfigProperty.Builder eventValueThreshold(String eventValueThreshold) Sets the value ofCfnSolutionPropsMixin.SolutionConfigProperty.getEventValueThreshold()- Parameters:
eventValueThreshold- Only events with a value greater than or equal to this threshold are used for training a model.- Returns:
this
-
featureTransformationParameters
@Stability(Stable) public CfnSolutionPropsMixin.SolutionConfigProperty.Builder featureTransformationParameters(Map<String, String> featureTransformationParameters) - Parameters:
featureTransformationParameters- Lists the feature transformation parameters.- Returns:
this
-
featureTransformationParameters
@Stability(Stable) public CfnSolutionPropsMixin.SolutionConfigProperty.Builder featureTransformationParameters(IResolvable featureTransformationParameters) - Parameters:
featureTransformationParameters- Lists the feature transformation parameters.- Returns:
this
-
hpoConfig
@Stability(Stable) public CfnSolutionPropsMixin.SolutionConfigProperty.Builder hpoConfig(Object hpoConfig) Sets the value ofCfnSolutionPropsMixin.SolutionConfigProperty.getHpoConfig()- Parameters:
hpoConfig- Describes the properties for hyperparameter optimization (HPO).- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSolutionPropsMixin.SolutionConfigProperty>- Returns:
- a new instance of
CfnSolutionPropsMixin.SolutionConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-