#[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 ==
.impl StructuralPartialEq for FinalAutoMlJobObjectiveMetricBuilder
Auto Trait Implementations§
impl Freeze for FinalAutoMlJobObjectiveMetricBuilder
impl RefUnwindSafe for FinalAutoMlJobObjectiveMetricBuilder
impl Send for FinalAutoMlJobObjectiveMetricBuilder
impl Sync for FinalAutoMlJobObjectiveMetricBuilder
impl Unpin for FinalAutoMlJobObjectiveMetricBuilder
impl UnwindSafe for FinalAutoMlJobObjectiveMetricBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more