Struct aws_sdk_personalize::types::builders::AutoMlConfigBuilder
source · #[non_exhaustive]pub struct AutoMlConfigBuilder { /* private fields */ }
Expand description
A builder for AutoMlConfig
.
Implementations§
source§impl AutoMlConfigBuilder
impl AutoMlConfigBuilder
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
.
Trait Implementations§
source§impl Clone for AutoMlConfigBuilder
impl Clone for AutoMlConfigBuilder
source§fn clone(&self) -> AutoMlConfigBuilder
fn clone(&self) -> AutoMlConfigBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AutoMlConfigBuilder
impl Debug for AutoMlConfigBuilder
source§impl Default for AutoMlConfigBuilder
impl Default for AutoMlConfigBuilder
source§fn default() -> AutoMlConfigBuilder
fn default() -> AutoMlConfigBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<AutoMlConfigBuilder> for AutoMlConfigBuilder
impl PartialEq<AutoMlConfigBuilder> for AutoMlConfigBuilder
source§fn eq(&self, other: &AutoMlConfigBuilder) -> bool
fn eq(&self, other: &AutoMlConfigBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.