Struct aws_sdk_personalize::model::auto_ml_config::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for AutoMlConfig
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn metric_name(self, input: impl Into<String>) -> Self
pub fn metric_name(self, input: impl Into<String>) -> Self
The metric to optimize.
sourcepub fn set_metric_name(self, input: Option<String>) -> Self
pub fn set_metric_name(self, input: Option<String>) -> Self
The metric to optimize.
sourcepub fn recipe_list(self, input: impl Into<String>) -> Self
pub fn recipe_list(self, input: impl Into<String>) -> Self
Appends an item to recipe_list
.
To override the contents of this collection use set_recipe_list
.
The list of candidate recipes.
sourcepub fn set_recipe_list(self, input: Option<Vec<String>>) -> Self
pub fn set_recipe_list(self, input: Option<Vec<String>>) -> Self
The list of candidate recipes.
sourcepub fn build(self) -> AutoMlConfig
pub fn build(self) -> AutoMlConfig
Consumes the builder and constructs a AutoMlConfig
.