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
Modifier and TypeMethodDescriptiondefault LabelingJobDataSource.Builders3DataSource(Consumer<LabelingJobS3DataSource.Builder> s3DataSource) The Amazon S3 location of the input data objects.s3DataSource(LabelingJobS3DataSource s3DataSource) The Amazon S3 location of the input data objects.default LabelingJobDataSource.BuildersnsDataSource(Consumer<LabelingJobSnsDataSource.Builder> snsDataSource) An Amazon SNS data source used for streaming labeling jobs.snsDataSource(LabelingJobSnsDataSource snsDataSource) An Amazon SNS data source used for streaming labeling jobs.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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.Builderavoiding the need to create one manually viaLabelingJobS3DataSource.builder().When the
Consumercompletes,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:
-
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.Builderavoiding the need to create one manually viaLabelingJobSnsDataSource.builder().When the
Consumercompletes,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:
-