Struct aws_sdk_personalize::operation::create_recommender::builders::CreateRecommenderInputBuilder
source · #[non_exhaustive]pub struct CreateRecommenderInputBuilder { /* private fields */ }
Expand description
A builder for CreateRecommenderInput
.
Implementations§
source§impl CreateRecommenderInputBuilder
impl CreateRecommenderInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the recommender.
This field is required.sourcepub fn dataset_group_arn(self, input: impl Into<String>) -> Self
pub fn dataset_group_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the destination domain dataset group for the recommender.
This field is required.sourcepub fn set_dataset_group_arn(self, input: Option<String>) -> Self
pub fn set_dataset_group_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the destination domain dataset group for the recommender.
sourcepub fn get_dataset_group_arn(&self) -> &Option<String>
pub fn get_dataset_group_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the destination domain dataset group for the recommender.
sourcepub fn recipe_arn(self, input: impl Into<String>) -> Self
pub fn recipe_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the recipe that the recommender will use. For a recommender, a recipe is a Domain dataset group use case. Only Domain dataset group use cases can be used to create a recommender. For information about use cases see Choosing recommender use cases.
This field is required.sourcepub fn set_recipe_arn(self, input: Option<String>) -> Self
pub fn set_recipe_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the recipe that the recommender will use. For a recommender, a recipe is a Domain dataset group use case. Only Domain dataset group use cases can be used to create a recommender. For information about use cases see Choosing recommender use cases.
sourcepub fn get_recipe_arn(&self) -> &Option<String>
pub fn get_recipe_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the recipe that the recommender will use. For a recommender, a recipe is a Domain dataset group use case. Only Domain dataset group use cases can be used to create a recommender. For information about use cases see Choosing recommender use cases.
sourcepub fn recommender_config(self, input: RecommenderConfig) -> Self
pub fn recommender_config(self, input: RecommenderConfig) -> Self
The configuration details of the recommender.
sourcepub fn set_recommender_config(self, input: Option<RecommenderConfig>) -> Self
pub fn set_recommender_config(self, input: Option<RecommenderConfig>) -> Self
The configuration details of the recommender.
sourcepub fn get_recommender_config(&self) -> &Option<RecommenderConfig>
pub fn get_recommender_config(&self) -> &Option<RecommenderConfig>
The configuration details of the recommender.
A list of tags to apply to the recommender.
A list of tags to apply to the recommender.
sourcepub fn build(self) -> Result<CreateRecommenderInput, BuildError>
pub fn build(self) -> Result<CreateRecommenderInput, BuildError>
Consumes the builder and constructs a CreateRecommenderInput
.
source§impl CreateRecommenderInputBuilder
impl CreateRecommenderInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateRecommenderOutput, SdkError<CreateRecommenderError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateRecommenderOutput, SdkError<CreateRecommenderError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateRecommenderInputBuilder
impl Clone for CreateRecommenderInputBuilder
source§fn clone(&self) -> CreateRecommenderInputBuilder
fn clone(&self) -> CreateRecommenderInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateRecommenderInputBuilder
impl Default for CreateRecommenderInputBuilder
source§fn default() -> CreateRecommenderInputBuilder
fn default() -> CreateRecommenderInputBuilder
source§impl PartialEq for CreateRecommenderInputBuilder
impl PartialEq for CreateRecommenderInputBuilder
source§fn eq(&self, other: &CreateRecommenderInputBuilder) -> bool
fn eq(&self, other: &CreateRecommenderInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.