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 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.
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 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.
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 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.
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 ==
.