@Stability(value=Stable) public static final class CfnSolution.Builder extends Object implements software.amazon.jsii.Builder<CfnSolution>
CfnSolution.| Modifier and Type | Method and Description |
|---|---|
CfnSolution |
build() |
static CfnSolution.Builder |
create(Construct scope,
String id) |
CfnSolution.Builder |
datasetGroupArn(String datasetGroupArn)
The Amazon Resource Name (ARN) of the dataset group that provides the training data.
|
CfnSolution.Builder |
eventType(String eventType)
The event type (for example, 'click' or 'like') that is used for training the model.
|
CfnSolution.Builder |
name(String name)
The name of the solution.
|
CfnSolution.Builder |
performAutoMl(Boolean performAutoMl)
> We don't recommend enabling automated machine learning.
|
CfnSolution.Builder |
performAutoMl(IResolvable performAutoMl)
> We don't recommend enabling automated machine learning.
|
CfnSolution.Builder |
performHpo(Boolean performHpo)
Whether to perform hyperparameter optimization (HPO) on the chosen recipe.
|
CfnSolution.Builder |
performHpo(IResolvable performHpo)
Whether to perform hyperparameter optimization (HPO) on the chosen recipe.
|
CfnSolution.Builder |
recipeArn(String recipeArn)
The ARN of the recipe used to create the solution.
|
CfnSolution.Builder |
solutionConfig(CfnSolution.SolutionConfigProperty solutionConfig)
Describes the configuration properties for the solution.
|
CfnSolution.Builder |
solutionConfig(IResolvable solutionConfig)
Describes the configuration properties for the solution.
|
@Stability(value=Stable) public static CfnSolution.Builder create(Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnSolution.AlgorithmHyperParameterRangesProperty.Builder.@Stability(value=Stable) public CfnSolution.Builder datasetGroupArn(String datasetGroupArn)
datasetGroupArn - The Amazon Resource Name (ARN) of the dataset group that provides the training data. This parameter is required.this@Stability(value=Stable) public CfnSolution.Builder name(String name)
name - The name of the solution. This parameter is required.this@Stability(value=Stable) public CfnSolution.Builder eventType(String eventType)
If no eventType is provided, Amazon Personalize uses all interactions for training with equal weight regardless of type.
eventType - The event type (for example, 'click' or 'like') that is used for training the model. This parameter is required.this@Stability(value=Stable) public CfnSolution.Builder performAutoMl(Boolean performAutoMl)
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.
performAutoMl - > We don't recommend enabling automated machine learning. This parameter is required.this@Stability(value=Stable) public CfnSolution.Builder performAutoMl(IResolvable performAutoMl)
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.
performAutoMl - > We don't recommend enabling automated machine learning. This parameter is required.this@Stability(value=Stable) public CfnSolution.Builder performHpo(Boolean performHpo)
The default is false .
performHpo - Whether to perform hyperparameter optimization (HPO) on the chosen recipe. This parameter is required.this@Stability(value=Stable) public CfnSolution.Builder performHpo(IResolvable performHpo)
The default is false .
performHpo - Whether to perform hyperparameter optimization (HPO) on the chosen recipe. This parameter is required.this@Stability(value=Stable) public CfnSolution.Builder recipeArn(String recipeArn)
recipeArn - The ARN of the recipe used to create the solution. This parameter is required.this@Stability(value=Stable) public CfnSolution.Builder solutionConfig(IResolvable solutionConfig)
solutionConfig - Describes the configuration properties for the solution. This parameter is required.this@Stability(value=Stable) public CfnSolution.Builder solutionConfig(CfnSolution.SolutionConfigProperty solutionConfig)
solutionConfig - Describes the configuration properties for the solution. This parameter is required.this@Stability(value=Stable) public CfnSolution build()
build in interface software.amazon.jsii.Builder<CfnSolution>Copyright © 2023. All rights reserved.