pub struct Builder { /* private fields */ }
Expand description
A builder for FinalAutoMlJobObjectiveMetric
.
Implementations§
source§impl Builder
impl Builder
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 build(self) -> FinalAutoMlJobObjectiveMetric
pub fn build(self) -> FinalAutoMlJobObjectiveMetric
Consumes the builder and constructs a FinalAutoMlJobObjectiveMetric
.