public static interface CreateSolutionRequest.Builder extends PersonalizeRequest.Builder, SdkPojo, CopyableBuilder<CreateSolutionRequest.Builder,CreateSolutionRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateSolutionRequest.Builder |
datasetGroupArn(String datasetGroupArn)
The Amazon Resource Name (ARN) of the dataset group that provides the training data.
|
CreateSolutionRequest.Builder |
eventType(String eventType)
When your have multiple event types (using an
EVENT_TYPE schema field), this parameter specifies
which event type (for example, 'click' or 'like') is used for training the model. |
CreateSolutionRequest.Builder |
name(String name)
The name for the solution.
|
CreateSolutionRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateSolutionRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateSolutionRequest.Builder |
performAutoML(Boolean performAutoML)
Whether to perform automated machine learning (AutoML).
|
CreateSolutionRequest.Builder |
performHPO(Boolean performHPO)
Whether to perform hyperparameter optimization (HPO) on the specified or selected recipe.
|
CreateSolutionRequest.Builder |
recipeArn(String recipeArn)
The ARN of the recipe to use for model training.
|
default CreateSolutionRequest.Builder |
solutionConfig(Consumer<SolutionConfig.Builder> solutionConfig)
The configuration to use with the solution.
|
CreateSolutionRequest.Builder |
solutionConfig(SolutionConfig solutionConfig)
The configuration to use with the solution.
|
CreateSolutionRequest.Builder |
tags(Collection<Tag> tags)
A list of tags to
apply to the solution.
|
CreateSolutionRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
A list of tags to
apply to the solution.
|
CreateSolutionRequest.Builder |
tags(Tag... tags)
A list of tags to
apply to the solution.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateSolutionRequest.Builder name(String name)
The name for the solution.
name - The name for the solution.CreateSolutionRequest.Builder performHPO(Boolean performHPO)
Whether to perform hyperparameter optimization (HPO) on the specified or selected recipe. The default is
false.
When performing AutoML, this parameter is always true and you should not set it to
false.
performHPO - Whether to perform hyperparameter optimization (HPO) on the specified or selected recipe. The default
is false.
When performing AutoML, this parameter is always true and you should not set it to
false.
CreateSolutionRequest.Builder performAutoML(Boolean performAutoML)
Whether to perform automated machine learning (AutoML). The default is false. For this case, you
must specify recipeArn.
When set to true, Amazon Personalize analyzes your training data and selects the optimal
USER_PERSONALIZATION recipe and hyperparameters. In this case, you must omit recipeArn. Amazon
Personalize determines the optimal recipe by running tests with different values for the hyperparameters.
AutoML lengthens the training process as compared to selecting a specific recipe.
performAutoML - Whether to perform automated machine learning (AutoML). The default is false. For this
case, you must specify recipeArn.
When set to true, Amazon Personalize analyzes your training data and selects the optimal
USER_PERSONALIZATION recipe and hyperparameters. In this case, you must omit recipeArn.
Amazon Personalize determines the optimal recipe by running tests with different values for the
hyperparameters. AutoML lengthens the training process as compared to selecting a specific recipe.
CreateSolutionRequest.Builder recipeArn(String recipeArn)
The ARN of the recipe to use for model training. Only specified when performAutoML is false.
recipeArn - The ARN of the recipe to use for model training. Only specified when performAutoML is
false.CreateSolutionRequest.Builder datasetGroupArn(String datasetGroupArn)
The Amazon Resource Name (ARN) of the dataset group that provides the training data.
datasetGroupArn - The Amazon Resource Name (ARN) of the dataset group that provides the training data.CreateSolutionRequest.Builder eventType(String eventType)
When your have multiple event types (using an EVENT_TYPE schema field), this parameter specifies
which event type (for example, 'click' or 'like') is used for training the model.
If you do not provide an eventType, Amazon Personalize will use all interactions for training
with equal weight regardless of type.
eventType - When your have multiple event types (using an EVENT_TYPE schema field), this parameter
specifies which event type (for example, 'click' or 'like') is used for training the model.
If you do not provide an eventType, Amazon Personalize will use all interactions for
training with equal weight regardless of type.
CreateSolutionRequest.Builder solutionConfig(SolutionConfig solutionConfig)
The configuration to use with the solution. When performAutoML is set to true, Amazon
Personalize only evaluates the autoMLConfig section of the solution configuration.
Amazon Personalize doesn't support configuring the hpoObjective at this time.
solutionConfig - The configuration to use with the solution. When performAutoML is set to true, Amazon
Personalize only evaluates the autoMLConfig section of the solution configuration.
Amazon Personalize doesn't support configuring the hpoObjective at this time.
default CreateSolutionRequest.Builder solutionConfig(Consumer<SolutionConfig.Builder> solutionConfig)
The configuration to use with the solution. When performAutoML is set to true, Amazon
Personalize only evaluates the autoMLConfig section of the solution configuration.
Amazon Personalize doesn't support configuring the hpoObjective at this time.
SolutionConfig.Builder avoiding
the need to create one manually via SolutionConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to solutionConfig(SolutionConfig).
solutionConfig - a consumer that will call methods on SolutionConfig.BuildersolutionConfig(SolutionConfig)CreateSolutionRequest.Builder tags(Collection<Tag> tags)
A list of tags to apply to the solution.
tags - A list of tags
to apply to the solution.CreateSolutionRequest.Builder tags(Tag... tags)
A list of tags to apply to the solution.
tags - A list of tags
to apply to the solution.CreateSolutionRequest.Builder tags(Consumer<Tag.Builder>... tags)
A list of tags to apply to the solution.
This is a convenience method that creates an instance of theTag.Builder avoiding the need to create one
manually via Tag.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #tags(List.
tags - a consumer that will call methods on
Tag.Builder#tags(java.util.Collection) CreateSolutionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateSolutionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.