#[non_exhaustive]pub struct LabelingJobDataAttributesBuilder { /* private fields */ }
Expand description
A builder for LabelingJobDataAttributes
.
Implementations§
source§impl LabelingJobDataAttributesBuilder
impl LabelingJobDataAttributesBuilder
sourcepub fn content_classifiers(self, input: ContentClassifier) -> Self
pub fn content_classifiers(self, input: ContentClassifier) -> Self
Appends an item to content_classifiers
.
To override the contents of this collection use set_content_classifiers
.
Declares that your content is free of personally identifiable information or adult content. SageMaker may restrict the Amazon Mechanical Turk workers that can view your task based on this information.
sourcepub fn set_content_classifiers(
self,
input: Option<Vec<ContentClassifier>>,
) -> Self
pub fn set_content_classifiers( self, input: Option<Vec<ContentClassifier>>, ) -> Self
Declares that your content is free of personally identifiable information or adult content. SageMaker may restrict the Amazon Mechanical Turk workers that can view your task based on this information.
sourcepub fn get_content_classifiers(&self) -> &Option<Vec<ContentClassifier>>
pub fn get_content_classifiers(&self) -> &Option<Vec<ContentClassifier>>
Declares that your content is free of personally identifiable information or adult content. SageMaker may restrict the Amazon Mechanical Turk workers that can view your task based on this information.
sourcepub fn build(self) -> LabelingJobDataAttributes
pub fn build(self) -> LabelingJobDataAttributes
Consumes the builder and constructs a LabelingJobDataAttributes
.
Trait Implementations§
source§impl Clone for LabelingJobDataAttributesBuilder
impl Clone for LabelingJobDataAttributesBuilder
source§fn clone(&self) -> LabelingJobDataAttributesBuilder
fn clone(&self) -> LabelingJobDataAttributesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for LabelingJobDataAttributesBuilder
impl Default for LabelingJobDataAttributesBuilder
source§fn default() -> LabelingJobDataAttributesBuilder
fn default() -> LabelingJobDataAttributesBuilder
source§impl PartialEq for LabelingJobDataAttributesBuilder
impl PartialEq for LabelingJobDataAttributesBuilder
source§fn eq(&self, other: &LabelingJobDataAttributesBuilder) -> bool
fn eq(&self, other: &LabelingJobDataAttributesBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for LabelingJobDataAttributesBuilder
Auto Trait Implementations§
impl Freeze for LabelingJobDataAttributesBuilder
impl RefUnwindSafe for LabelingJobDataAttributesBuilder
impl Send for LabelingJobDataAttributesBuilder
impl Sync for LabelingJobDataAttributesBuilder
impl Unpin for LabelingJobDataAttributesBuilder
impl UnwindSafe for LabelingJobDataAttributesBuilder
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