#[non_exhaustive]pub struct ResolvedAttributesBuilder { /* private fields */ }
Expand description
A builder for ResolvedAttributes
.
Implementations§
source§impl ResolvedAttributesBuilder
impl ResolvedAttributesBuilder
sourcepub fn auto_ml_job_objective(self, input: AutoMlJobObjective) -> Self
pub fn auto_ml_job_objective(self, input: AutoMlJobObjective) -> Self
Specifies a metric to minimize or maximize as the objective of an AutoML job.
sourcepub fn set_auto_ml_job_objective(
self,
input: Option<AutoMlJobObjective>,
) -> Self
pub fn set_auto_ml_job_objective( self, input: Option<AutoMlJobObjective>, ) -> Self
Specifies a metric to minimize or maximize as the objective of an AutoML job.
sourcepub fn get_auto_ml_job_objective(&self) -> &Option<AutoMlJobObjective>
pub fn get_auto_ml_job_objective(&self) -> &Option<AutoMlJobObjective>
Specifies a metric to minimize or maximize as the objective of an AutoML job.
sourcepub fn problem_type(self, input: ProblemType) -> Self
pub fn problem_type(self, input: ProblemType) -> Self
The problem type.
sourcepub fn set_problem_type(self, input: Option<ProblemType>) -> Self
pub fn set_problem_type(self, input: Option<ProblemType>) -> Self
The problem type.
sourcepub fn get_problem_type(&self) -> &Option<ProblemType>
pub fn get_problem_type(&self) -> &Option<ProblemType>
The problem type.
sourcepub fn completion_criteria(self, input: AutoMlJobCompletionCriteria) -> Self
pub fn completion_criteria(self, input: AutoMlJobCompletionCriteria) -> Self
How long a job is allowed to run, or how many candidates a job is allowed to generate.
sourcepub fn set_completion_criteria(
self,
input: Option<AutoMlJobCompletionCriteria>,
) -> Self
pub fn set_completion_criteria( self, input: Option<AutoMlJobCompletionCriteria>, ) -> Self
How long a job is allowed to run, or how many candidates a job is allowed to generate.
sourcepub fn get_completion_criteria(&self) -> &Option<AutoMlJobCompletionCriteria>
pub fn get_completion_criteria(&self) -> &Option<AutoMlJobCompletionCriteria>
How long a job is allowed to run, or how many candidates a job is allowed to generate.
sourcepub fn build(self) -> ResolvedAttributes
pub fn build(self) -> ResolvedAttributes
Consumes the builder and constructs a ResolvedAttributes
.
Trait Implementations§
source§impl Clone for ResolvedAttributesBuilder
impl Clone for ResolvedAttributesBuilder
source§fn clone(&self) -> ResolvedAttributesBuilder
fn clone(&self) -> ResolvedAttributesBuilder
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 ResolvedAttributesBuilder
impl Debug for ResolvedAttributesBuilder
source§impl Default for ResolvedAttributesBuilder
impl Default for ResolvedAttributesBuilder
source§fn default() -> ResolvedAttributesBuilder
fn default() -> ResolvedAttributesBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ResolvedAttributesBuilder
impl PartialEq for ResolvedAttributesBuilder
source§fn eq(&self, other: &ResolvedAttributesBuilder) -> bool
fn eq(&self, other: &ResolvedAttributesBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ResolvedAttributesBuilder
Auto Trait Implementations§
impl Freeze for ResolvedAttributesBuilder
impl RefUnwindSafe for ResolvedAttributesBuilder
impl Send for ResolvedAttributesBuilder
impl Sync for ResolvedAttributesBuilder
impl Unpin for ResolvedAttributesBuilder
impl UnwindSafe for ResolvedAttributesBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.