#[non_exhaustive]pub struct FinalAutoMlJobObjectiveMetricBuilder { /* private fields */ }
Expand description
A builder for FinalAutoMlJobObjectiveMetric
.
Implementations§
source§impl FinalAutoMlJobObjectiveMetricBuilder
impl FinalAutoMlJobObjectiveMetricBuilder
sourcepub fn type(self, input: AutoMlJobObjectiveType) -> Self
pub fn type(self, input: AutoMlJobObjectiveType) -> Self
The type of metric with the best result.
sourcepub fn set_type(self, input: Option<AutoMlJobObjectiveType>) -> Self
pub fn set_type(self, input: Option<AutoMlJobObjectiveType>) -> Self
The type of metric with the best result.
sourcepub fn metric_name(self, input: AutoMlMetricEnum) -> Self
pub fn metric_name(self, input: AutoMlMetricEnum) -> Self
The name of the metric with the best result. For a description of the possible objective metrics, see AutoMLJobObjective$MetricName.
sourcepub fn set_metric_name(self, input: Option<AutoMlMetricEnum>) -> Self
pub fn set_metric_name(self, input: Option<AutoMlMetricEnum>) -> Self
The name of the metric with the best result. For a description of the possible objective metrics, see AutoMLJobObjective$MetricName.
sourcepub fn set_value(self, input: Option<f32>) -> Self
pub fn set_value(self, input: Option<f32>) -> Self
The value of the metric with the best result.
sourcepub fn standard_metric_name(self, input: AutoMlMetricEnum) -> Self
pub fn standard_metric_name(self, input: AutoMlMetricEnum) -> Self
The name of the standard metric. For a description of the standard metrics, see Autopilot candidate metrics.
sourcepub fn set_standard_metric_name(self, input: Option<AutoMlMetricEnum>) -> Self
pub fn set_standard_metric_name(self, input: Option<AutoMlMetricEnum>) -> Self
The name of the standard metric. For a description of the standard metrics, see Autopilot candidate metrics.
sourcepub fn build(self) -> FinalAutoMlJobObjectiveMetric
pub fn build(self) -> FinalAutoMlJobObjectiveMetric
Consumes the builder and constructs a FinalAutoMlJobObjectiveMetric
.
Trait Implementations§
source§impl Clone for FinalAutoMlJobObjectiveMetricBuilder
impl Clone for FinalAutoMlJobObjectiveMetricBuilder
source§fn clone(&self) -> FinalAutoMlJobObjectiveMetricBuilder
fn clone(&self) -> FinalAutoMlJobObjectiveMetricBuilder
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 Default for FinalAutoMlJobObjectiveMetricBuilder
impl Default for FinalAutoMlJobObjectiveMetricBuilder
source§fn default() -> FinalAutoMlJobObjectiveMetricBuilder
fn default() -> FinalAutoMlJobObjectiveMetricBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<FinalAutoMlJobObjectiveMetricBuilder> for FinalAutoMlJobObjectiveMetricBuilder
impl PartialEq<FinalAutoMlJobObjectiveMetricBuilder> for FinalAutoMlJobObjectiveMetricBuilder
source§fn eq(&self, other: &FinalAutoMlJobObjectiveMetricBuilder) -> bool
fn eq(&self, other: &FinalAutoMlJobObjectiveMetricBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.