Interface IngestionStreamS3Source.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<IngestionStreamS3Source.Builder,,IngestionStreamS3Source> SdkBuilder<IngestionStreamS3Source.Builder,,IngestionStreamS3Source> SdkPojo
- Enclosing class:
IngestionStreamS3Source
@Mutable
@NotThreadSafe
public static interface IngestionStreamS3Source.Builder
extends SdkPojo, CopyableBuilder<IngestionStreamS3Source.Builder,IngestionStreamS3Source>
-
Method Summary
Modifier and TypeMethodDescriptionbuckets(Collection<StreamBucketConfig> buckets) The configuration for each Amazon S3 bucket that the ingestion stream ingests data from.buckets(Consumer<StreamBucketConfig.Builder>... buckets) The configuration for each Amazon S3 bucket that the ingestion stream ingests data from.buckets(StreamBucketConfig... buckets) The configuration for each Amazon S3 bucket that the ingestion stream ingests data from.The Amazon Resource Name (ARN) of the Amazon SQS queue that receives Amazon S3 event notifications for the source buckets.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, sdkFieldNameToField, sdkFields
-
Method Details
-
sqsArn
The Amazon Resource Name (ARN) of the Amazon SQS queue that receives Amazon S3 event notifications for the source buckets.
- Parameters:
sqsArn- The Amazon Resource Name (ARN) of the Amazon SQS queue that receives Amazon S3 event notifications for the source buckets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
buckets
The configuration for each Amazon S3 bucket that the ingestion stream ingests data from.
- Parameters:
buckets- The configuration for each Amazon S3 bucket that the ingestion stream ingests data from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
buckets
The configuration for each Amazon S3 bucket that the ingestion stream ingests data from.
- Parameters:
buckets- The configuration for each Amazon S3 bucket that the ingestion stream ingests data from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
buckets
The configuration for each Amazon S3 bucket that the ingestion stream ingests data from.
This is a convenience method that creates an instance of theStreamBucketConfig.Builderavoiding the need to create one manually viaStreamBucketConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobuckets(List<StreamBucketConfig>).- Parameters:
buckets- a consumer that will call methods onStreamBucketConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-