#[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 get_type(&self) -> &Option<AutoMlJobObjectiveType>
pub fn get_type(&self) -> &Option<AutoMlJobObjectiveType>
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.
This field is required.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 get_metric_name(&self) -> &Option<AutoMlMetricEnum>
pub fn get_metric_name(&self) -> &Option<AutoMlMetricEnum>
The name of the metric with the best result. For a description of the possible objective metrics, see AutoMLJobObjective$MetricName.
sourcepub fn value(self, input: f32) -> Self
pub fn value(self, input: f32) -> Self
The value of the metric with the best result.
This field is required.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 get_standard_metric_name(&self) -> &Option<AutoMlMetricEnum>
pub fn get_standard_metric_name(&self) -> &Option<AutoMlMetricEnum>
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for FinalAutoMlJobObjectiveMetricBuilder
impl Default for FinalAutoMlJobObjectiveMetricBuilder
source§fn default() -> FinalAutoMlJobObjectiveMetricBuilder
fn default() -> FinalAutoMlJobObjectiveMetricBuilder
source§impl PartialEq for FinalAutoMlJobObjectiveMetricBuilder
impl PartialEq for FinalAutoMlJobObjectiveMetricBuilder
source§fn eq(&self, other: &FinalAutoMlJobObjectiveMetricBuilder) -> bool
fn eq(&self, other: &FinalAutoMlJobObjectiveMetricBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.