#[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 a job. V2 API jobs (for example jobs created by calling CreateAutoMLJobV2
), support Accuracy
only.
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 a job. V2 API jobs (for example jobs created by calling CreateAutoMLJobV2
), support Accuracy
only.
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 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 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<ResolvedAttributesBuilder> for ResolvedAttributesBuilder
impl PartialEq<ResolvedAttributesBuilder> 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 ==
.