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 age, in seconds, of undelivered data.deadLetterQueueS3Configuration(Consumer<DeadLetterQueueS3Configuration.Builder> deadLetterQueueS3Configuration) The dead-letter queue configuration for records that cannot be delivered.deadLetterQueueS3Configuration(DeadLetterQueueS3Configuration deadLetterQueueS3Configuration) The dead-letter queue configuration for records that cannot be delivered.storageConfiguration(Consumer<S3StorageConfiguration.Builder> storageConfiguration) The Amazon S3 storage configuration for the channel.storageConfiguration(S3StorageConfiguration storageConfiguration) The Amazon S3 storage configuration for the channel.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 age, in seconds, of undelivered data. Valid range is 300 to 900 seconds (5 to 15 minutes). The default value is 300 seconds.
- Parameters:
dataFreshnessInSeconds- The maximum age, in seconds, of undelivered data. Valid range is 300 to 900 seconds (5 to 15 minutes). The default value is 300 seconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deadLetterQueueS3Configuration
S3DestinationConfiguration.Builder deadLetterQueueS3Configuration(DeadLetterQueueS3Configuration deadLetterQueueS3Configuration) The dead-letter queue configuration for records that cannot be delivered. Optional for general purpose Amazon S3 destinations. If not specified, it defaults to the destination bucket with an error prefix.
- Parameters:
deadLetterQueueS3Configuration- The dead-letter queue configuration for records that cannot be delivered. Optional for general purpose Amazon S3 destinations. If not specified, it defaults to the destination bucket with an error prefix.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deadLetterQueueS3Configuration
default S3DestinationConfiguration.Builder deadLetterQueueS3Configuration(Consumer<DeadLetterQueueS3Configuration.Builder> deadLetterQueueS3Configuration) The dead-letter queue configuration for records that cannot be delivered. Optional for general purpose Amazon S3 destinations. If not specified, it defaults to the destination bucket with an error prefix.
This is a convenience method that creates an instance of theDeadLetterQueueS3Configuration.Builderavoiding the need to create one manually viaDeadLetterQueueS3Configuration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todeadLetterQueueS3Configuration(DeadLetterQueueS3Configuration).- Parameters:
deadLetterQueueS3Configuration- a consumer that will call methods onDeadLetterQueueS3Configuration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
storageConfiguration
S3DestinationConfiguration.Builder storageConfiguration(S3StorageConfiguration storageConfiguration) The Amazon S3 storage configuration for the channel.
- Parameters:
storageConfiguration- The Amazon S3 storage configuration for the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageConfiguration
default S3DestinationConfiguration.Builder storageConfiguration(Consumer<S3StorageConfiguration.Builder> storageConfiguration) The Amazon S3 storage configuration for the channel.
This is a convenience method that creates an instance of theS3StorageConfiguration.Builderavoiding the need to create one manually viaS3StorageConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostorageConfiguration(S3StorageConfiguration).- Parameters:
storageConfiguration- a consumer that will call methods onS3StorageConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-