Struct aws_sdk_sagemaker::types::builders::LabelCountersBuilder
source · #[non_exhaustive]pub struct LabelCountersBuilder { /* private fields */ }
Expand description
A builder for LabelCounters
.
Implementations§
source§impl LabelCountersBuilder
impl LabelCountersBuilder
sourcepub fn total_labeled(self, input: i32) -> Self
pub fn total_labeled(self, input: i32) -> Self
The total number of objects labeled.
sourcepub fn set_total_labeled(self, input: Option<i32>) -> Self
pub fn set_total_labeled(self, input: Option<i32>) -> Self
The total number of objects labeled.
sourcepub fn get_total_labeled(&self) -> &Option<i32>
pub fn get_total_labeled(&self) -> &Option<i32>
The total number of objects labeled.
sourcepub fn human_labeled(self, input: i32) -> Self
pub fn human_labeled(self, input: i32) -> Self
The total number of objects labeled by a human worker.
sourcepub fn set_human_labeled(self, input: Option<i32>) -> Self
pub fn set_human_labeled(self, input: Option<i32>) -> Self
The total number of objects labeled by a human worker.
sourcepub fn get_human_labeled(&self) -> &Option<i32>
pub fn get_human_labeled(&self) -> &Option<i32>
The total number of objects labeled by a human worker.
sourcepub fn machine_labeled(self, input: i32) -> Self
pub fn machine_labeled(self, input: i32) -> Self
The total number of objects labeled by automated data labeling.
sourcepub fn set_machine_labeled(self, input: Option<i32>) -> Self
pub fn set_machine_labeled(self, input: Option<i32>) -> Self
The total number of objects labeled by automated data labeling.
sourcepub fn get_machine_labeled(&self) -> &Option<i32>
pub fn get_machine_labeled(&self) -> &Option<i32>
The total number of objects labeled by automated data labeling.
sourcepub fn failed_non_retryable_error(self, input: i32) -> Self
pub fn failed_non_retryable_error(self, input: i32) -> Self
The total number of objects that could not be labeled due to an error.
sourcepub fn set_failed_non_retryable_error(self, input: Option<i32>) -> Self
pub fn set_failed_non_retryable_error(self, input: Option<i32>) -> Self
The total number of objects that could not be labeled due to an error.
sourcepub fn get_failed_non_retryable_error(&self) -> &Option<i32>
pub fn get_failed_non_retryable_error(&self) -> &Option<i32>
The total number of objects that could not be labeled due to an error.
sourcepub fn set_unlabeled(self, input: Option<i32>) -> Self
pub fn set_unlabeled(self, input: Option<i32>) -> Self
The total number of objects not yet labeled.
sourcepub fn get_unlabeled(&self) -> &Option<i32>
pub fn get_unlabeled(&self) -> &Option<i32>
The total number of objects not yet labeled.
sourcepub fn build(self) -> LabelCounters
pub fn build(self) -> LabelCounters
Consumes the builder and constructs a LabelCounters
.
Trait Implementations§
source§impl Clone for LabelCountersBuilder
impl Clone for LabelCountersBuilder
source§fn clone(&self) -> LabelCountersBuilder
fn clone(&self) -> LabelCountersBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LabelCountersBuilder
impl Debug for LabelCountersBuilder
source§impl Default for LabelCountersBuilder
impl Default for LabelCountersBuilder
source§fn default() -> LabelCountersBuilder
fn default() -> LabelCountersBuilder
source§impl PartialEq for LabelCountersBuilder
impl PartialEq for LabelCountersBuilder
impl StructuralPartialEq for LabelCountersBuilder
Auto Trait Implementations§
impl Freeze for LabelCountersBuilder
impl RefUnwindSafe for LabelCountersBuilder
impl Send for LabelCountersBuilder
impl Sync for LabelCountersBuilder
impl Unpin for LabelCountersBuilder
impl UnwindSafe for LabelCountersBuilder
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