#[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 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 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<LabelingJobDataSourceBuilder> for LabelingJobDataSourceBuilder
impl PartialEq<LabelingJobDataSourceBuilder> 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 ==
.