Struct aws_sdk_sagemaker::model::resolved_attributes::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ResolvedAttributes
.
Implementations§
source§impl Builder
impl Builder
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.
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.
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
.