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 get_metric_name(&self) -> &Option<String>
pub fn get_metric_name(&self) -> &Option<String>
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 get_recipe_list(&self) -> &Option<Vec<String>>
pub fn get_recipe_list(&self) -> &Option<Vec<String>>
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 for AutoMlConfigBuilder
impl PartialEq 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 ==.impl StructuralPartialEq for AutoMlConfigBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AutoMlConfigBuilder
impl Send for AutoMlConfigBuilder
impl Sync for AutoMlConfigBuilder
impl Unpin for AutoMlConfigBuilder
impl UnwindSafe for AutoMlConfigBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more