Struct aws_sdk_personalize::operation::create_solution_version::builders::CreateSolutionVersionInputBuilder
source · #[non_exhaustive]pub struct CreateSolutionVersionInputBuilder { /* private fields */ }
Expand description
A builder for CreateSolutionVersionInput
.
Implementations§
source§impl CreateSolutionVersionInputBuilder
impl CreateSolutionVersionInputBuilder
sourcepub fn solution_arn(self, input: impl Into<String>) -> Self
pub fn solution_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the solution containing the training configuration information.
This field is required.sourcepub fn set_solution_arn(self, input: Option<String>) -> Self
pub fn set_solution_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the solution containing the training configuration information.
sourcepub fn get_solution_arn(&self) -> &Option<String>
pub fn get_solution_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the solution containing the training configuration information.
sourcepub fn training_mode(self, input: TrainingMode) -> Self
pub fn training_mode(self, input: TrainingMode) -> Self
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 specify UPDATE
, Amazon Personalize will stop automatic updates for the solution version. To resume updates, create a new solution with training mode set to FULL
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 the FULL
option and the input solution was trained with the User-Personalization recipe or the legacy HRNN-Coldstart recipe.
sourcepub fn set_training_mode(self, input: Option<TrainingMode>) -> Self
pub fn set_training_mode(self, input: Option<TrainingMode>) -> Self
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 specify UPDATE
, Amazon Personalize will stop automatic updates for the solution version. To resume updates, create a new solution with training mode set to FULL
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 the FULL
option and the input solution was trained with the User-Personalization recipe or the legacy HRNN-Coldstart recipe.
sourcepub fn get_training_mode(&self) -> &Option<TrainingMode>
pub fn get_training_mode(&self) -> &Option<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 specify UPDATE
, Amazon Personalize will stop automatic updates for the solution version. To resume updates, create a new solution with training mode set to FULL
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 the FULL
option and the input solution was trained with the User-Personalization recipe or the legacy HRNN-Coldstart recipe.
A list of tags to apply to the solution version.
A list of tags to apply to the solution version.
sourcepub fn build(self) -> Result<CreateSolutionVersionInput, BuildError>
pub fn build(self) -> Result<CreateSolutionVersionInput, BuildError>
Consumes the builder and constructs a CreateSolutionVersionInput
.
source§impl CreateSolutionVersionInputBuilder
impl CreateSolutionVersionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateSolutionVersionOutput, SdkError<CreateSolutionVersionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateSolutionVersionOutput, SdkError<CreateSolutionVersionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateSolutionVersionInputBuilder
impl Clone for CreateSolutionVersionInputBuilder
source§fn clone(&self) -> CreateSolutionVersionInputBuilder
fn clone(&self) -> CreateSolutionVersionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateSolutionVersionInputBuilder
impl Default for CreateSolutionVersionInputBuilder
source§fn default() -> CreateSolutionVersionInputBuilder
fn default() -> CreateSolutionVersionInputBuilder
source§impl PartialEq for CreateSolutionVersionInputBuilder
impl PartialEq for CreateSolutionVersionInputBuilder
source§fn eq(&self, other: &CreateSolutionVersionInputBuilder) -> bool
fn eq(&self, other: &CreateSolutionVersionInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.