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 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 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 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
source§fn eq(&self, other: &MetricDatumBuilder) -> bool
fn eq(&self, other: &MetricDatumBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MetricDatumBuilder
Auto Trait Implementations§
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> 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>
Creates a shared type from an unshared type.