Class CfnSolutionPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSolutionPropsMixin>
- Enclosing class:
CfnSolutionPropsMixin
CfnSolutionPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) datasetGroupArn(String datasetGroupArn) The Amazon Resource Name (ARN) of the dataset group that provides the training data.The event type (for example, 'click' or 'like') that is used for training the model.The name of the solution.performAutoMl(Boolean performAutoMl) performAutoMl(IResolvable performAutoMl) performHpo(Boolean performHpo) Whether to perform hyperparameter optimization (HPO) on the chosen recipe.performHpo(IResolvable performHpo) Whether to perform hyperparameter optimization (HPO) on the chosen recipe.The ARN of the recipe used to create the solution.solutionConfig(IResolvable solutionConfig) Describes the configuration properties for the solution.solutionConfig(CfnSolutionPropsMixin.SolutionConfigProperty solutionConfig) Describes the configuration properties for the solution.
-
Method Details
-
create
@Stability(Stable) public static CfnSolutionPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnSolutionPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnSolutionPropsMixin.Builder.
-
datasetGroupArn
The Amazon Resource Name (ARN) of the dataset group that provides the training data.- Parameters:
datasetGroupArn- The Amazon Resource Name (ARN) of the dataset group that provides the training data. This parameter is required.- Returns:
this- See Also:
-
eventType
The event type (for example, 'click' or 'like') that is used for training the model.If no
eventTypeis provided, Amazon Personalize uses all interactions for training with equal weight regardless of type.- Parameters:
eventType- The event type (for example, 'click' or 'like') that is used for training the model. This parameter is required.- Returns:
this- See Also:
-
name
The name of the solution.- Parameters:
name- The name of the solution. This parameter is required.- Returns:
this- See Also:
-
performAutoMl
We don't recommend enabling automated machine learning.
Instead, match your use case to the available Amazon Personalize recipes. For more information, see Determining your use case.
When true, Amazon Personalize performs a search for the best USER_PERSONALIZATION recipe from the list specified in the solution configuration (
recipeArnmust not be specified). When false (the default), Amazon Personalize usesrecipeArnfor training.- Parameters:
performAutoMl-
This parameter is required.We don't recommend enabling automated machine learning.
- Returns:
this- See Also:
-
performAutoMl
We don't recommend enabling automated machine learning.
Instead, match your use case to the available Amazon Personalize recipes. For more information, see Determining your use case.
When true, Amazon Personalize performs a search for the best USER_PERSONALIZATION recipe from the list specified in the solution configuration (
recipeArnmust not be specified). When false (the default), Amazon Personalize usesrecipeArnfor training.- Parameters:
performAutoMl-
This parameter is required.We don't recommend enabling automated machine learning.
- Returns:
this- See Also:
-
performHpo
Whether to perform hyperparameter optimization (HPO) on the chosen recipe.The default is
false.- Parameters:
performHpo- Whether to perform hyperparameter optimization (HPO) on the chosen recipe. This parameter is required.- Returns:
this- See Also:
-
performHpo
Whether to perform hyperparameter optimization (HPO) on the chosen recipe.The default is
false.- Parameters:
performHpo- Whether to perform hyperparameter optimization (HPO) on the chosen recipe. This parameter is required.- Returns:
this- See Also:
-
recipeArn
The ARN of the recipe used to create the solution.This is required when
performAutoMLis false.- Parameters:
recipeArn- The ARN of the recipe used to create the solution. This parameter is required.- Returns:
this- See Also:
-
solutionConfig
Describes the configuration properties for the solution.- Parameters:
solutionConfig- Describes the configuration properties for the solution. This parameter is required.- Returns:
this- See Also:
-
solutionConfig
@Stability(Stable) public CfnSolutionPropsMixin.Builder solutionConfig(CfnSolutionPropsMixin.SolutionConfigProperty solutionConfig) Describes the configuration properties for the solution.- Parameters:
solutionConfig- Describes the configuration properties for the solution. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSolutionPropsMixin>- Returns:
- a newly built instance of
CfnSolutionPropsMixin.
-