Struct aws_sdk_personalize::types::builders::RecipeBuilder
source · #[non_exhaustive]pub struct RecipeBuilder { /* private fields */ }Expand description
A builder for Recipe.
Implementations§
source§impl RecipeBuilder
impl RecipeBuilder
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.
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.
sourcepub fn get_recipe_arn(&self) -> &Option<String>
pub fn get_recipe_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the recipe.
sourcepub fn algorithm_arn(self, input: impl Into<String>) -> Self
pub fn algorithm_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the algorithm that Amazon Personalize uses to train the model.
sourcepub fn set_algorithm_arn(self, input: Option<String>) -> Self
pub fn set_algorithm_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the algorithm that Amazon Personalize uses to train the model.
sourcepub fn get_algorithm_arn(&self) -> &Option<String>
pub fn get_algorithm_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the algorithm that Amazon Personalize uses to train the model.
sourcepub fn feature_transformation_arn(self, input: impl Into<String>) -> Self
pub fn feature_transformation_arn(self, input: impl Into<String>) -> Self
The ARN of the FeatureTransformation object.
sourcepub fn set_feature_transformation_arn(self, input: Option<String>) -> Self
pub fn set_feature_transformation_arn(self, input: Option<String>) -> Self
The ARN of the FeatureTransformation object.
sourcepub fn get_feature_transformation_arn(&self) -> &Option<String>
pub fn get_feature_transformation_arn(&self) -> &Option<String>
The ARN of the FeatureTransformation object.
sourcepub fn set_status(self, input: Option<String>) -> Self
pub fn set_status(self, input: Option<String>) -> Self
The status of the recipe.
sourcepub fn get_status(&self) -> &Option<String>
pub fn get_status(&self) -> &Option<String>
The status of the recipe.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the recipe.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the recipe.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the recipe.
sourcepub fn creation_date_time(self, input: DateTime) -> Self
pub fn creation_date_time(self, input: DateTime) -> Self
The date and time (in Unix format) that the recipe was created.
sourcepub fn set_creation_date_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_date_time(self, input: Option<DateTime>) -> Self
The date and time (in Unix format) that the recipe was created.
sourcepub fn get_creation_date_time(&self) -> &Option<DateTime>
pub fn get_creation_date_time(&self) -> &Option<DateTime>
The date and time (in Unix format) that the recipe was created.
sourcepub fn recipe_type(self, input: impl Into<String>) -> Self
pub fn recipe_type(self, input: impl Into<String>) -> Self
One of the following values:
-
PERSONALIZED_RANKING
-
RELATED_ITEMS
-
USER_PERSONALIZATION
sourcepub fn set_recipe_type(self, input: Option<String>) -> Self
pub fn set_recipe_type(self, input: Option<String>) -> Self
One of the following values:
-
PERSONALIZED_RANKING
-
RELATED_ITEMS
-
USER_PERSONALIZATION
sourcepub fn get_recipe_type(&self) -> &Option<String>
pub fn get_recipe_type(&self) -> &Option<String>
One of the following values:
-
PERSONALIZED_RANKING
-
RELATED_ITEMS
-
USER_PERSONALIZATION
sourcepub fn last_updated_date_time(self, input: DateTime) -> Self
pub fn last_updated_date_time(self, input: DateTime) -> Self
The date and time (in Unix format) that the recipe was last updated.
sourcepub fn set_last_updated_date_time(self, input: Option<DateTime>) -> Self
pub fn set_last_updated_date_time(self, input: Option<DateTime>) -> Self
The date and time (in Unix format) that the recipe was last updated.
sourcepub fn get_last_updated_date_time(&self) -> &Option<DateTime>
pub fn get_last_updated_date_time(&self) -> &Option<DateTime>
The date and time (in Unix format) that the recipe was last updated.
Trait Implementations§
source§impl Clone for RecipeBuilder
impl Clone for RecipeBuilder
source§fn clone(&self) -> RecipeBuilder
fn clone(&self) -> RecipeBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for RecipeBuilder
impl Debug for RecipeBuilder
source§impl Default for RecipeBuilder
impl Default for RecipeBuilder
source§fn default() -> RecipeBuilder
fn default() -> RecipeBuilder
source§impl PartialEq for RecipeBuilder
impl PartialEq for RecipeBuilder
source§fn eq(&self, other: &RecipeBuilder) -> bool
fn eq(&self, other: &RecipeBuilder) -> bool
self and other values to be equal, and is used
by ==.