Interface S3DestinationDescription.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<S3DestinationDescription.Builder,,S3DestinationDescription> SdkBuilder<S3DestinationDescription.Builder,,S3DestinationDescription> SdkPojo
- Enclosing class:
S3DestinationDescription
@Mutable
@NotThreadSafe
public static interface S3DestinationDescription.Builder
extends SdkPojo, CopyableBuilder<S3DestinationDescription.Builder,S3DestinationDescription>
-
Method Summary
Modifier and TypeMethodDescriptiondataFreshnessInSeconds(Integer dataFreshnessInSeconds) The maximum age, in seconds, of undelivered data.default S3DestinationDescription.BuilderdeadLetterQueueS3Configuration(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.default S3DestinationDescription.BuilderstorageConfiguration(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.
- Parameters:
dataFreshnessInSeconds- The maximum age, in seconds, of undelivered data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deadLetterQueueS3Configuration
S3DestinationDescription.Builder deadLetterQueueS3Configuration(DeadLetterQueueS3Configuration deadLetterQueueS3Configuration) The dead-letter queue configuration for records that cannot be delivered.
- Parameters:
deadLetterQueueS3Configuration- The dead-letter queue configuration for records that cannot be delivered.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deadLetterQueueS3Configuration
default S3DestinationDescription.Builder deadLetterQueueS3Configuration(Consumer<DeadLetterQueueS3Configuration.Builder> deadLetterQueueS3Configuration) The dead-letter queue configuration for records that cannot be delivered.
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
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 S3DestinationDescription.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:
-