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 |
name(String name)
The name of the solution version.
|
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 to be performed when creating the solution version.
|
SolutionVersion.Builder |
trainingMode(TrainingMode trainingMode)
The scope of training to be performed when creating 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 name(String name)
The name of the solution version.
name - The name of the solution version.SolutionVersion.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 method 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 to be performed when creating 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 data that has changed in comparison to the input solution.
Choose UPDATE when you want to incrementally update your solution version instead of creating an
entirely new one.
The UPDATE option can only be used when you already have an active solution version created from
the input solution using the FULL option and the input solution was trained with the User-Personalization recipe or the HRNN-Coldstart
recipe.
trainingMode - The scope of training to be performed when creating 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 data that has changed in comparison to the input
solution. Choose UPDATE when you want to incrementally update your solution version
instead of creating an entirely new one.
The UPDATE option can only be used when you already have an active solution version
created from the input solution using the FULL option and the input solution was trained
with the User-Personalization recipe or the HRNN-Coldstart recipe.
TrainingMode,
TrainingModeSolutionVersion.Builder trainingMode(TrainingMode trainingMode)
The scope of training to be performed when creating 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 data that has changed in comparison to the input solution.
Choose UPDATE when you want to incrementally update your solution version instead of creating an
entirely new one.
The UPDATE option can only be used when you already have an active solution version created from
the input solution using the FULL option and the input solution was trained with the User-Personalization recipe or the HRNN-Coldstart
recipe.
trainingMode - The scope of training to be performed when creating 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 data that has changed in comparison to the input
solution. Choose UPDATE when you want to incrementally update your solution version
instead of creating an entirely new one.
The UPDATE option can only be used when you already have an active solution version
created from the input solution using the FULL option and the input solution was trained
with the User-Personalization recipe or the HRNN-Coldstart recipe.
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 method 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
CREATE STOPPING
CREATE STOPPED
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
CREATE STOPPING
CREATE STOPPED
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 © 2022. All rights reserved.