public static interface SolutionVersion.Builder extends SdkPojo, CopyableBuilder<SolutionVersion.Builder,SolutionVersion>
| Modifier and Type | Method and Description |
|---|---|
SolutionVersion.Builder |
creationDateTime(Instant creationDateTime)
The date and time (in Unix time) that this version of the solution was created.
|
SolutionVersion.Builder |
datasetGroupArn(String datasetGroupArn)
The Amazon Resource Name (ARN) of the dataset group providing the training data.
|
SolutionVersion.Builder |
eventType(String eventType)
The event type (for example, 'click' or 'like') that is used for training the model.
|
SolutionVersion.Builder |
failureReason(String failureReason)
If training a solution version fails, the reason for the failure.
|
SolutionVersion.Builder |
lastUpdatedDateTime(Instant lastUpdatedDateTime)
The date and time (in Unix time) that the solution was last updated.
|
SolutionVersion.Builder |
performAutoML(Boolean performAutoML)
When true, Amazon Personalize searches for the most optimal recipe according to the solution configuration.
|
SolutionVersion.Builder |
performHPO(Boolean performHPO)
Whether to perform hyperparameter optimization (HPO) on the chosen recipe.
|
SolutionVersion.Builder |
recipeArn(String recipeArn)
The ARN of the recipe used in the solution.
|
SolutionVersion.Builder |
solutionArn(String solutionArn)
The ARN of the solution.
|
default SolutionVersion.Builder |
solutionConfig(Consumer<SolutionConfig.Builder> solutionConfig)
Describes the configuration properties for the solution.
|
SolutionVersion.Builder |
solutionConfig(SolutionConfig solutionConfig)
Describes the configuration properties for the solution.
|
SolutionVersion.Builder |
solutionVersionArn(String solutionVersionArn)
The ARN of the solution version.
|
SolutionVersion.Builder |
status(String status)
The status of the solution version.
|
SolutionVersion.Builder |
trainingHours(Double trainingHours)
The time used to train the model.
|
SolutionVersion.Builder |
trainingMode(String trainingMode)
The scope of training used to create the solution version.
|
SolutionVersion.Builder |
trainingMode(TrainingMode trainingMode)
The scope of training used to create the solution version.
|
default SolutionVersion.Builder |
tunedHPOParams(Consumer<TunedHPOParams.Builder> tunedHPOParams)
If hyperparameter optimization was performed, contains the hyperparameter values of the best performing
model.
|
SolutionVersion.Builder |
tunedHPOParams(TunedHPOParams tunedHPOParams)
If hyperparameter optimization was performed, contains the hyperparameter values of the best performing
model.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSolutionVersion.Builder solutionVersionArn(String solutionVersionArn)
The ARN of the solution version.
solutionVersionArn - The ARN of the solution version.SolutionVersion.Builder solutionArn(String solutionArn)
The ARN of the solution.
solutionArn - The ARN of the solution.SolutionVersion.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.SolutionVersion.Builder performAutoML(Boolean performAutoML)
When true, Amazon Personalize searches for the most optimal recipe according to the solution configuration.
When false (the default), Amazon Personalize uses recipeArn.
performAutoML - When true, Amazon Personalize searches for the most optimal recipe according to the solution
configuration. When false (the default), Amazon Personalize uses recipeArn.SolutionVersion.Builder recipeArn(String recipeArn)
The ARN of the recipe used in the solution.
recipeArn - The ARN of the recipe used in the solution.SolutionVersion.Builder eventType(String eventType)
The event type (for example, 'click' or 'like') that is used for training the model.
eventType - The event type (for example, 'click' or 'like') that is used for training the model.SolutionVersion.Builder datasetGroupArn(String datasetGroupArn)
The Amazon Resource Name (ARN) of the dataset group providing the training data.
datasetGroupArn - The Amazon Resource Name (ARN) of the dataset group providing the training data.SolutionVersion.Builder solutionConfig(SolutionConfig solutionConfig)
Describes the configuration properties for the solution.
solutionConfig - Describes the configuration properties for the solution.default SolutionVersion.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)SolutionVersion.Builder trainingHours(Double trainingHours)
The time used to train the model. You are billed for the time it takes to train a model. This field is visible only after Amazon Personalize successfully trains a model.
trainingHours - The time used to train the model. You are billed for the time it takes to train a model. This field is
visible only after Amazon Personalize successfully trains a model.SolutionVersion.Builder trainingMode(String trainingMode)
The scope of training used to create the solution version. The FULL option trains the solution
version based on the entirety of the input solution's training data, while the UPDATE option
processes only the training data that has changed since the creation of the last solution version. Choose
UPDATE when you want to start recommending items added to the dataset without retraining the
model.
The UPDATE option can only be used after you've created a solution version with the
FULL option and the training solution uses the native-recipe-hrnn-coldstart.
trainingMode - The scope of training used to create the solution version. The FULL option trains the
solution version based on the entirety of the input solution's training data, while the
UPDATE option processes only the training data that has changed since the creation of the
last solution version. Choose UPDATE when you want to start recommending items added to
the dataset without retraining the model.
The UPDATE option can only be used after you've created a solution version with the
FULL option and the training solution uses the native-recipe-hrnn-coldstart.
TrainingMode,
TrainingModeSolutionVersion.Builder trainingMode(TrainingMode trainingMode)
The scope of training used to create the solution version. The FULL option trains the solution
version based on the entirety of the input solution's training data, while the UPDATE option
processes only the training data that has changed since the creation of the last solution version. Choose
UPDATE when you want to start recommending items added to the dataset without retraining the
model.
The UPDATE option can only be used after you've created a solution version with the
FULL option and the training solution uses the native-recipe-hrnn-coldstart.
trainingMode - The scope of training used to create the solution version. The FULL option trains the
solution version based on the entirety of the input solution's training data, while the
UPDATE option processes only the training data that has changed since the creation of the
last solution version. Choose UPDATE when you want to start recommending items added to
the dataset without retraining the model.
The UPDATE option can only be used after you've created a solution version with the
FULL option and the training solution uses the native-recipe-hrnn-coldstart.
TrainingMode,
TrainingModeSolutionVersion.Builder tunedHPOParams(TunedHPOParams tunedHPOParams)
If hyperparameter optimization was performed, contains the hyperparameter values of the best performing model.
tunedHPOParams - If hyperparameter optimization was performed, contains the hyperparameter values of the best
performing model.default SolutionVersion.Builder tunedHPOParams(Consumer<TunedHPOParams.Builder> tunedHPOParams)
If hyperparameter optimization was performed, contains the hyperparameter values of the best performing model.
This is a convenience that creates an instance of theTunedHPOParams.Builder avoiding the need to
create one manually via TunedHPOParams.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to tunedHPOParams(TunedHPOParams).tunedHPOParams - a consumer that will call methods on TunedHPOParams.BuildertunedHPOParams(TunedHPOParams)SolutionVersion.Builder status(String status)
The status of the solution version.
A solution version can be in one of the following states:
CREATE PENDING
CREATE IN_PROGRESS
ACTIVE
CREATE FAILED
status - The status of the solution version.
A solution version can be in one of the following states:
CREATE PENDING
CREATE IN_PROGRESS
ACTIVE
CREATE FAILED
SolutionVersion.Builder failureReason(String failureReason)
If training a solution version fails, the reason for the failure.
failureReason - If training a solution version fails, the reason for the failure.SolutionVersion.Builder creationDateTime(Instant creationDateTime)
The date and time (in Unix time) that this version of the solution was created.
creationDateTime - The date and time (in Unix time) that this version of the solution was created.SolutionVersion.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.Copyright © 2020. All rights reserved.