#[non_exhaustive]pub struct LabelingJobInputConfigBuilder { /* private fields */ }Expand description
A builder for LabelingJobInputConfig.
Implementations§
source§impl LabelingJobInputConfigBuilder
impl LabelingJobInputConfigBuilder
sourcepub fn data_source(self, input: LabelingJobDataSource) -> Self
pub fn data_source(self, input: LabelingJobDataSource) -> Self
The location of the input data.
This field is required.sourcepub fn set_data_source(self, input: Option<LabelingJobDataSource>) -> Self
pub fn set_data_source(self, input: Option<LabelingJobDataSource>) -> Self
The location of the input data.
sourcepub fn get_data_source(&self) -> &Option<LabelingJobDataSource>
pub fn get_data_source(&self) -> &Option<LabelingJobDataSource>
The location of the input data.
sourcepub fn data_attributes(self, input: LabelingJobDataAttributes) -> Self
pub fn data_attributes(self, input: LabelingJobDataAttributes) -> Self
Attributes of the data specified by the customer.
sourcepub fn set_data_attributes(
self,
input: Option<LabelingJobDataAttributes>,
) -> Self
pub fn set_data_attributes( self, input: Option<LabelingJobDataAttributes>, ) -> Self
Attributes of the data specified by the customer.
sourcepub fn get_data_attributes(&self) -> &Option<LabelingJobDataAttributes>
pub fn get_data_attributes(&self) -> &Option<LabelingJobDataAttributes>
Attributes of the data specified by the customer.
sourcepub fn build(self) -> LabelingJobInputConfig
pub fn build(self) -> LabelingJobInputConfig
Consumes the builder and constructs a LabelingJobInputConfig.
Trait Implementations§
source§impl Clone for LabelingJobInputConfigBuilder
impl Clone for LabelingJobInputConfigBuilder
source§fn clone(&self) -> LabelingJobInputConfigBuilder
fn clone(&self) -> LabelingJobInputConfigBuilder
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 Default for LabelingJobInputConfigBuilder
impl Default for LabelingJobInputConfigBuilder
source§fn default() -> LabelingJobInputConfigBuilder
fn default() -> LabelingJobInputConfigBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for LabelingJobInputConfigBuilder
impl PartialEq for LabelingJobInputConfigBuilder
source§fn eq(&self, other: &LabelingJobInputConfigBuilder) -> bool
fn eq(&self, other: &LabelingJobInputConfigBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for LabelingJobInputConfigBuilder
Auto Trait Implementations§
impl Freeze for LabelingJobInputConfigBuilder
impl RefUnwindSafe for LabelingJobInputConfigBuilder
impl Send for LabelingJobInputConfigBuilder
impl Sync for LabelingJobInputConfigBuilder
impl Unpin for LabelingJobInputConfigBuilder
impl UnwindSafe for LabelingJobInputConfigBuilder
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>
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.