public static final class CfnSolutionProps.Builder
extends java.lang.Object
CfnSolutionProps
Constructor and Description |
---|
Builder() |
public CfnSolutionProps.Builder datasetGroupArn(java.lang.String datasetGroupArn)
CfnSolutionProps.getDatasetGroupArn()
datasetGroupArn
- The Amazon Resource Name (ARN) of the dataset group that provides the training data. This parameter is required.this
public CfnSolutionProps.Builder name(java.lang.String name)
CfnSolutionProps.getName()
name
- The name of the solution. This parameter is required.this
public CfnSolutionProps.Builder eventType(java.lang.String eventType)
CfnSolutionProps.getEventType()
eventType
- The event type (for example, 'click' or 'like') that is used for training the model.
If no eventType
is provided, Amazon Personalize uses all interactions for training with equal weight regardless of type.this
public CfnSolutionProps.Builder performAutoMl(java.lang.Boolean performAutoMl)
CfnSolutionProps.getPerformAutoMl()
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 ( recipeArn
must not be specified). When false (the default), Amazon Personalize uses recipeArn
for training.
this
public CfnSolutionProps.Builder performAutoMl(IResolvable performAutoMl)
CfnSolutionProps.getPerformAutoMl()
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 ( recipeArn
must not be specified). When false (the default), Amazon Personalize uses recipeArn
for training.
this
public CfnSolutionProps.Builder performHpo(java.lang.Boolean performHpo)
CfnSolutionProps.getPerformHpo()
performHpo
- Whether to perform hyperparameter optimization (HPO) on the chosen recipe.
The default is false
.this
public CfnSolutionProps.Builder performHpo(IResolvable performHpo)
CfnSolutionProps.getPerformHpo()
performHpo
- Whether to perform hyperparameter optimization (HPO) on the chosen recipe.
The default is false
.this
public CfnSolutionProps.Builder recipeArn(java.lang.String recipeArn)
CfnSolutionProps.getRecipeArn()
recipeArn
- The ARN of the recipe used to create the solution.this
public CfnSolutionProps.Builder solutionConfig(IResolvable solutionConfig)
CfnSolutionProps.getSolutionConfig()
solutionConfig
- Describes the configuration properties for the solution.this
public CfnSolutionProps.Builder solutionConfig(CfnSolution.SolutionConfigProperty solutionConfig)
CfnSolutionProps.getSolutionConfig()
solutionConfig
- Describes the configuration properties for the solution.this
public CfnSolutionProps build()
CfnSolutionProps
java.lang.NullPointerException
- if any required attribute was not provided