public static interface Solution.Builder extends SdkPojo, CopyableBuilder<Solution.Builder,Solution>
| Modifier and Type | Method and Description |
|---|---|
Solution.Builder |
autoMLResult(AutoMLResult autoMLResult)
When
performAutoML is true, specifies the best recipe found. |
default Solution.Builder |
autoMLResult(Consumer<AutoMLResult.Builder> autoMLResult)
When
performAutoML is true, specifies the best recipe found. |
Solution.Builder |
creationDateTime(Instant creationDateTime)
The creation date and time (in Unix time) of the solution.
|
Solution.Builder |
datasetGroupArn(String datasetGroupArn)
The Amazon Resource Name (ARN) of the dataset group that provides the training data.
|
Solution.Builder |
eventType(String eventType)
The event type (for example, 'click' or 'like') that is used for training the model.
|
Solution.Builder |
lastUpdatedDateTime(Instant lastUpdatedDateTime)
The date and time (in Unix time) that the solution was last updated.
|
default Solution.Builder |
latestSolutionVersion(Consumer<SolutionVersionSummary.Builder> latestSolutionVersion)
Describes the latest version of the solution, including the status and the ARN.
|
Solution.Builder |
latestSolutionVersion(SolutionVersionSummary latestSolutionVersion)
Describes the latest version of the solution, including the status and the ARN.
|
Solution.Builder |
name(String name)
The name of the solution.
|
Solution.Builder |
performAutoML(Boolean performAutoML)
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). |
Solution.Builder |
performHPO(Boolean performHPO)
Whether to perform hyperparameter optimization (HPO) on the chosen recipe.
|
Solution.Builder |
recipeArn(String recipeArn)
The ARN of the recipe used to create the solution.
|
Solution.Builder |
solutionArn(String solutionArn)
The ARN of the solution.
|
default Solution.Builder |
solutionConfig(Consumer<SolutionConfig.Builder> solutionConfig)
Describes the configuration properties for the solution.
|
Solution.Builder |
solutionConfig(SolutionConfig solutionConfig)
Describes the configuration properties for the solution.
|
Solution.Builder |
status(String status)
The status of the solution.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSolution.Builder name(String name)
The name of the solution.
name - The name of the solution.Solution.Builder solutionArn(String solutionArn)
The ARN of the solution.
solutionArn - The ARN of the solution.Solution.Builder performHPO(Boolean performHPO)
Whether to perform hyperparameter optimization (HPO) on the chosen recipe. The default is false.
performHPO - Whether to perform hyperparameter optimization (HPO) on the chosen recipe. The default is
false.Solution.Builder performAutoML(Boolean performAutoML)
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 - 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.Solution.Builder recipeArn(String recipeArn)
The ARN of the recipe used to create the solution.
recipeArn - The ARN of the recipe used to create the solution.Solution.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.Solution.Builder eventType(String 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.
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.Solution.Builder solutionConfig(SolutionConfig solutionConfig)
Describes the configuration properties for the solution.
solutionConfig - Describes the configuration properties for the solution.default Solution.Builder solutionConfig(Consumer<SolutionConfig.Builder> solutionConfig)
Describes the configuration properties for the solution.
This is a convenience that creates an instance of theSolutionConfig.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)Solution.Builder autoMLResult(AutoMLResult autoMLResult)
When performAutoML is true, specifies the best recipe found.
autoMLResult - When performAutoML is true, specifies the best recipe found.default Solution.Builder autoMLResult(Consumer<AutoMLResult.Builder> autoMLResult)
When performAutoML is true, specifies the best recipe found.
AutoMLResult.Builder avoiding the need to
create one manually via AutoMLResult.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to autoMLResult(AutoMLResult).autoMLResult - a consumer that will call methods on AutoMLResult.BuilderautoMLResult(AutoMLResult)Solution.Builder status(String status)
The status of the solution.
A solution can be in one of the following states:
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
DELETE PENDING > DELETE IN_PROGRESS
status - The status of the solution.
A solution can be in one of the following states:
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
DELETE PENDING > DELETE IN_PROGRESS
Solution.Builder creationDateTime(Instant creationDateTime)
The creation date and time (in Unix time) of the solution.
creationDateTime - The creation date and time (in Unix time) of the solution.Solution.Builder lastUpdatedDateTime(Instant lastUpdatedDateTime)
The date and time (in Unix time) that the solution was last updated.
lastUpdatedDateTime - The date and time (in Unix time) that the solution was last updated.Solution.Builder latestSolutionVersion(SolutionVersionSummary latestSolutionVersion)
Describes the latest version of the solution, including the status and the ARN.
latestSolutionVersion - Describes the latest version of the solution, including the status and the ARN.default Solution.Builder latestSolutionVersion(Consumer<SolutionVersionSummary.Builder> latestSolutionVersion)
Describes the latest version of the solution, including the status and the ARN.
This is a convenience that creates an instance of theSolutionVersionSummary.Builder avoiding the
need to create one manually via SolutionVersionSummary.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to latestSolutionVersion(SolutionVersionSummary).latestSolutionVersion - a consumer that will call methods on SolutionVersionSummary.BuilderlatestSolutionVersion(SolutionVersionSummary)Copyright © 2021. All rights reserved.