Interface LabelingJobDataSource.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<LabelingJobDataSource.Builder,LabelingJobDataSource>
,SdkBuilder<LabelingJobDataSource.Builder,LabelingJobDataSource>
,SdkPojo
- Enclosing class:
- LabelingJobDataSource
public static interface LabelingJobDataSource.Builder extends SdkPojo, CopyableBuilder<LabelingJobDataSource.Builder,LabelingJobDataSource>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default LabelingJobDataSource.Builder
s3DataSource(Consumer<LabelingJobS3DataSource.Builder> s3DataSource)
The Amazon S3 location of the input data objects.LabelingJobDataSource.Builder
s3DataSource(LabelingJobS3DataSource s3DataSource)
The Amazon S3 location of the input data objects.default LabelingJobDataSource.Builder
snsDataSource(Consumer<LabelingJobSnsDataSource.Builder> snsDataSource)
An Amazon SNS data source used for streaming labeling jobs.LabelingJobDataSource.Builder
snsDataSource(LabelingJobSnsDataSource snsDataSource)
An Amazon SNS data source used for streaming labeling jobs.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
s3DataSource
LabelingJobDataSource.Builder s3DataSource(LabelingJobS3DataSource s3DataSource)
The Amazon S3 location of the input data objects.
- Parameters:
s3DataSource
- The Amazon S3 location of the input data objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3DataSource
default LabelingJobDataSource.Builder s3DataSource(Consumer<LabelingJobS3DataSource.Builder> s3DataSource)
The Amazon S3 location of the input data objects.
This is a convenience method that creates an instance of theLabelingJobS3DataSource.Builder
avoiding the need to create one manually viaLabelingJobS3DataSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tos3DataSource(LabelingJobS3DataSource)
.- Parameters:
s3DataSource
- a consumer that will call methods onLabelingJobS3DataSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
s3DataSource(LabelingJobS3DataSource)
-
snsDataSource
LabelingJobDataSource.Builder snsDataSource(LabelingJobSnsDataSource snsDataSource)
An Amazon SNS data source used for streaming labeling jobs. To learn more, see Send Data to a Streaming Labeling Job.
- Parameters:
snsDataSource
- An Amazon SNS data source used for streaming labeling jobs. To learn more, see Send Data to a Streaming Labeling Job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snsDataSource
default LabelingJobDataSource.Builder snsDataSource(Consumer<LabelingJobSnsDataSource.Builder> snsDataSource)
An Amazon SNS data source used for streaming labeling jobs. To learn more, see Send Data to a Streaming Labeling Job.
This is a convenience method that creates an instance of theLabelingJobSnsDataSource.Builder
avoiding the need to create one manually viaLabelingJobSnsDataSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosnsDataSource(LabelingJobSnsDataSource)
.- Parameters:
snsDataSource
- a consumer that will call methods onLabelingJobSnsDataSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
snsDataSource(LabelingJobSnsDataSource)
-
-