Interface CreateSolutionVersionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateSolutionVersionRequest.Builder,
,CreateSolutionVersionRequest> PersonalizeRequest.Builder
,SdkBuilder<CreateSolutionVersionRequest.Builder,
,CreateSolutionVersionRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateSolutionVersionRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the solution version.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.solutionArn
(String solutionArn) The Amazon Resource Name (ARN) of the solution containing the training configuration information.tags
(Collection<Tag> tags) A list of tags to apply to the solution version.tags
(Consumer<Tag.Builder>... tags) A list of tags to apply to the solution version.A list of tags to apply to the solution version.trainingMode
(String trainingMode) The scope of training to be performed when creating the solution version.trainingMode
(TrainingMode trainingMode) The scope of training to be performed when creating the solution version.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.personalize.model.PersonalizeRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
name
The name of the solution version.
- Parameters:
name
- The name of the solution version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
solutionArn
The Amazon Resource Name (ARN) of the solution containing the training configuration information.
- Parameters:
solutionArn
- The Amazon Resource Name (ARN) of the solution containing the training configuration information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trainingMode
The scope of training to be performed when creating the solution version. The default is
FULL
. This creates a completely new model based on the entirety of the training data from the datasets in your dataset group.If you use User-Personalization, you can specify a training mode of
UPDATE
. This updates the model to consider new items for recommendations. It is not a full retraining. You should still complete a full retraining weekly. If you specifyUPDATE
, Amazon Personalize will stop automatic updates for the solution version. To resume updates, create a new solution with training mode set toFULL
and deploy it in a campaign. For more information about automatic updates, see Automatic updates.The
UPDATE
option can only be used when you already have an active solution version created from the input solution using theFULL
option and the input solution was trained with the User-Personalization recipe or the legacy HRNN-Coldstart recipe.- Parameters:
trainingMode
- The scope of training to be performed when creating the solution version. The default isFULL
. This creates a completely new model based on the entirety of the training data from the datasets in your dataset group.If you use User-Personalization, you can specify a training mode of
UPDATE
. This updates the model to consider new items for recommendations. It is not a full retraining. You should still complete a full retraining weekly. If you specifyUPDATE
, Amazon Personalize will stop automatic updates for the solution version. To resume updates, create a new solution with training mode set toFULL
and deploy it in a campaign. For more information about automatic updates, see Automatic updates.The
UPDATE
option can only be used when you already have an active solution version created from the input solution using theFULL
option and the input solution was trained with the User-Personalization recipe or the legacy HRNN-Coldstart recipe.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
trainingMode
The scope of training to be performed when creating the solution version. The default is
FULL
. This creates a completely new model based on the entirety of the training data from the datasets in your dataset group.If you use User-Personalization, you can specify a training mode of
UPDATE
. This updates the model to consider new items for recommendations. It is not a full retraining. You should still complete a full retraining weekly. If you specifyUPDATE
, Amazon Personalize will stop automatic updates for the solution version. To resume updates, create a new solution with training mode set toFULL
and deploy it in a campaign. For more information about automatic updates, see Automatic updates.The
UPDATE
option can only be used when you already have an active solution version created from the input solution using theFULL
option and the input solution was trained with the User-Personalization recipe or the legacy HRNN-Coldstart recipe.- Parameters:
trainingMode
- The scope of training to be performed when creating the solution version. The default isFULL
. This creates a completely new model based on the entirety of the training data from the datasets in your dataset group.If you use User-Personalization, you can specify a training mode of
UPDATE
. This updates the model to consider new items for recommendations. It is not a full retraining. You should still complete a full retraining weekly. If you specifyUPDATE
, Amazon Personalize will stop automatic updates for the solution version. To resume updates, create a new solution with training mode set toFULL
and deploy it in a campaign. For more information about automatic updates, see Automatic updates.The
UPDATE
option can only be used when you already have an active solution version created from the input solution using theFULL
option and the input solution was trained with the User-Personalization recipe or the legacy HRNN-Coldstart recipe.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
A list of tags to apply to the solution version.
- Parameters:
tags
- A list of tags to apply to the solution version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of tags to apply to the solution version.
- Parameters:
tags
- A list of tags to apply to the solution version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of tags to apply to the solution version.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateSolutionVersionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateSolutionVersionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-