#[non_exhaustive]pub struct LabelingJobDataSourceBuilder { /* private fields */ }
Expand description
A builder for LabelingJobDataSource
.
Implementations§
source§impl LabelingJobDataSourceBuilder
impl LabelingJobDataSourceBuilder
sourcepub fn s3_data_source(self, input: LabelingJobS3DataSource) -> Self
pub fn s3_data_source(self, input: LabelingJobS3DataSource) -> Self
The Amazon S3 location of the input data objects.
sourcepub fn set_s3_data_source(self, input: Option<LabelingJobS3DataSource>) -> Self
pub fn set_s3_data_source(self, input: Option<LabelingJobS3DataSource>) -> Self
The Amazon S3 location of the input data objects.
sourcepub fn get_s3_data_source(&self) -> &Option<LabelingJobS3DataSource>
pub fn get_s3_data_source(&self) -> &Option<LabelingJobS3DataSource>
The Amazon S3 location of the input data objects.
sourcepub fn sns_data_source(self, input: LabelingJobSnsDataSource) -> Self
pub fn sns_data_source(self, input: LabelingJobSnsDataSource) -> Self
An Amazon SNS data source used for streaming labeling jobs. To learn more, see Send Data to a Streaming Labeling Job.
sourcepub fn set_sns_data_source(
self,
input: Option<LabelingJobSnsDataSource>
) -> Self
pub fn set_sns_data_source( self, input: Option<LabelingJobSnsDataSource> ) -> Self
An Amazon SNS data source used for streaming labeling jobs. To learn more, see Send Data to a Streaming Labeling Job.
sourcepub fn get_sns_data_source(&self) -> &Option<LabelingJobSnsDataSource>
pub fn get_sns_data_source(&self) -> &Option<LabelingJobSnsDataSource>
An Amazon SNS data source used for streaming labeling jobs. To learn more, see Send Data to a Streaming Labeling Job.
sourcepub fn build(self) -> LabelingJobDataSource
pub fn build(self) -> LabelingJobDataSource
Consumes the builder and constructs a LabelingJobDataSource
.
Trait Implementations§
source§impl Clone for LabelingJobDataSourceBuilder
impl Clone for LabelingJobDataSourceBuilder
source§fn clone(&self) -> LabelingJobDataSourceBuilder
fn clone(&self) -> LabelingJobDataSourceBuilder
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 LabelingJobDataSourceBuilder
impl Debug for LabelingJobDataSourceBuilder
source§impl Default for LabelingJobDataSourceBuilder
impl Default for LabelingJobDataSourceBuilder
source§fn default() -> LabelingJobDataSourceBuilder
fn default() -> LabelingJobDataSourceBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for LabelingJobDataSourceBuilder
impl PartialEq for LabelingJobDataSourceBuilder
source§fn eq(&self, other: &LabelingJobDataSourceBuilder) -> bool
fn eq(&self, other: &LabelingJobDataSourceBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LabelingJobDataSourceBuilder
Auto Trait Implementations§
impl RefUnwindSafe for LabelingJobDataSourceBuilder
impl Send for LabelingJobDataSourceBuilder
impl Sync for LabelingJobDataSourceBuilder
impl Unpin for LabelingJobDataSourceBuilder
impl UnwindSafe for LabelingJobDataSourceBuilder
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.