Struct aws_sdk_sagemaker::types::builders::MetricDatumBuilder
source · #[non_exhaustive]pub struct MetricDatumBuilder { /* private fields */ }
Expand description
A builder for MetricDatum
.
Implementations§
source§impl MetricDatumBuilder
impl MetricDatumBuilder
sourcepub fn metric_name(self, input: AutoMlMetricEnum) -> Self
pub fn metric_name(self, input: AutoMlMetricEnum) -> Self
The name of the metric.
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.
sourcepub fn get_metric_name(&self) -> &Option<AutoMlMetricEnum>
pub fn get_metric_name(&self) -> &Option<AutoMlMetricEnum>
The name of the metric.
sourcepub fn standard_metric_name(self, input: AutoMlMetricExtendedEnum) -> Self
pub fn standard_metric_name(self, input: AutoMlMetricExtendedEnum) -> Self
The name of the standard metric.
For definitions of the standard metrics, see Autopilot candidate metrics
.
sourcepub fn set_standard_metric_name(
self,
input: Option<AutoMlMetricExtendedEnum>,
) -> Self
pub fn set_standard_metric_name( self, input: Option<AutoMlMetricExtendedEnum>, ) -> Self
The name of the standard metric.
For definitions of the standard metrics, see Autopilot candidate metrics
.
sourcepub fn get_standard_metric_name(&self) -> &Option<AutoMlMetricExtendedEnum>
pub fn get_standard_metric_name(&self) -> &Option<AutoMlMetricExtendedEnum>
The name of the standard metric.
For definitions of the standard metrics, see Autopilot candidate metrics
.
sourcepub fn set(self, input: MetricSetSource) -> Self
pub fn set(self, input: MetricSetSource) -> Self
The dataset split from which the AutoML job produced the metric.
sourcepub fn set_set(self, input: Option<MetricSetSource>) -> Self
pub fn set_set(self, input: Option<MetricSetSource>) -> Self
The dataset split from which the AutoML job produced the metric.
sourcepub fn get_set(&self) -> &Option<MetricSetSource>
pub fn get_set(&self) -> &Option<MetricSetSource>
The dataset split from which the AutoML job produced the metric.
sourcepub fn build(self) -> MetricDatum
pub fn build(self) -> MetricDatum
Consumes the builder and constructs a MetricDatum
.
Trait Implementations§
source§impl Clone for MetricDatumBuilder
impl Clone for MetricDatumBuilder
source§fn clone(&self) -> MetricDatumBuilder
fn clone(&self) -> MetricDatumBuilder
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 Debug for MetricDatumBuilder
impl Debug for MetricDatumBuilder
source§impl Default for MetricDatumBuilder
impl Default for MetricDatumBuilder
source§fn default() -> MetricDatumBuilder
fn default() -> MetricDatumBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for MetricDatumBuilder
impl PartialEq for MetricDatumBuilder
impl StructuralPartialEq for MetricDatumBuilder
Auto Trait Implementations§
impl Freeze for MetricDatumBuilder
impl RefUnwindSafe for MetricDatumBuilder
impl Send for MetricDatumBuilder
impl Sync for MetricDatumBuilder
impl Unpin for MetricDatumBuilder
impl UnwindSafe for MetricDatumBuilder
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
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.