Interface S3DestinationConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<S3DestinationConfiguration.Builder,,S3DestinationConfiguration> SdkBuilder<S3DestinationConfiguration.Builder,,S3DestinationConfiguration> SdkPojo
- Enclosing class:
S3DestinationConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiondataFreshnessInSeconds(Integer dataFreshnessInSeconds) The maximum time, in seconds, that records buffer in MSK before being flushed to the destination.deadLetterQueueS3(Consumer<DeadLetterQueueS3.Builder> deadLetterQueueS3) The Amazon S3 bucket and prefix where MSK writes records that fail to deliver.deadLetterQueueS3(DeadLetterQueueS3 deadLetterQueueS3) The Amazon S3 bucket and prefix where MSK writes records that fail to deliver.serviceExecutionRoleArn(String serviceExecutionRoleArn) The Amazon Resource Name (ARN) of the IAM role that MSK assumes to write to the destination Amazon S3 bucket and the dead-letter bucket.storage(Consumer<S3Storage.Builder> storage) The Amazon S3 bucket, prefix, and storage class for delivered records.The Amazon S3 bucket, prefix, and storage class for delivered records.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
-
dataFreshnessInSeconds
The maximum time, in seconds, that records buffer in MSK before being flushed to the destination. Allowed range: 300 to 900. Default: 600.
- Parameters:
dataFreshnessInSeconds- The maximum time, in seconds, that records buffer in MSK before being flushed to the destination. Allowed range: 300 to 900. Default: 600.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deadLetterQueueS3
The Amazon S3 bucket and prefix where MSK writes records that fail to deliver.
- Parameters:
deadLetterQueueS3- The Amazon S3 bucket and prefix where MSK writes records that fail to deliver.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deadLetterQueueS3
default S3DestinationConfiguration.Builder deadLetterQueueS3(Consumer<DeadLetterQueueS3.Builder> deadLetterQueueS3) The Amazon S3 bucket and prefix where MSK writes records that fail to deliver.
This is a convenience method that creates an instance of theDeadLetterQueueS3.Builderavoiding the need to create one manually viaDeadLetterQueueS3.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todeadLetterQueueS3(DeadLetterQueueS3).- Parameters:
deadLetterQueueS3- a consumer that will call methods onDeadLetterQueueS3.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
serviceExecutionRoleArn
The Amazon Resource Name (ARN) of the IAM role that MSK assumes to write to the destination Amazon S3 bucket and the dead-letter bucket.
- Parameters:
serviceExecutionRoleArn- The Amazon Resource Name (ARN) of the IAM role that MSK assumes to write to the destination Amazon S3 bucket and the dead-letter bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storage
The Amazon S3 bucket, prefix, and storage class for delivered records.
- Parameters:
storage- The Amazon S3 bucket, prefix, and storage class for delivered records.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storage
The Amazon S3 bucket, prefix, and storage class for delivered records.
This is a convenience method that creates an instance of theS3Storage.Builderavoiding the need to create one manually viaS3Storage.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostorage(S3Storage).- Parameters:
storage- a consumer that will call methods onS3Storage.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-