Class CfnChannel.S3DestinationConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kinesis.CfnChannel.S3DestinationConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.S3DestinationConfigurationProperty>
- Enclosing interface:
CfnChannel.S3DestinationConfigurationProperty
@Stability(Stable)
public static final class CfnChannel.S3DestinationConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.S3DestinationConfigurationProperty>
A builder for
CfnChannel.S3DestinationConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.dataFreshnessInSeconds(Number dataFreshnessInSeconds) deadLetterQueueS3Configuration(IResolvable deadLetterQueueS3Configuration) deadLetterQueueS3Configuration(CfnChannel.DeadLetterQueueS3ConfigurationProperty deadLetterQueueS3Configuration) storageConfiguration(IResolvable storageConfiguration) Sets the value ofCfnChannel.S3DestinationConfigurationProperty.getStorageConfiguration()storageConfiguration(CfnChannel.S3StorageConfigurationProperty storageConfiguration) Sets the value ofCfnChannel.S3DestinationConfigurationProperty.getStorageConfiguration()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
storageConfiguration
@Stability(Stable) public CfnChannel.S3DestinationConfigurationProperty.Builder storageConfiguration(IResolvable storageConfiguration) Sets the value ofCfnChannel.S3DestinationConfigurationProperty.getStorageConfiguration()- Parameters:
storageConfiguration- S3 storage configuration that describes the destination bucket and how delivered objects are stored. This parameter is required.- Returns:
this
-
storageConfiguration
@Stability(Stable) public CfnChannel.S3DestinationConfigurationProperty.Builder storageConfiguration(CfnChannel.S3StorageConfigurationProperty storageConfiguration) Sets the value ofCfnChannel.S3DestinationConfigurationProperty.getStorageConfiguration()- Parameters:
storageConfiguration- S3 storage configuration that describes the destination bucket and how delivered objects are stored. This parameter is required.- Returns:
this
-
dataFreshnessInSeconds
@Stability(Stable) public CfnChannel.S3DestinationConfigurationProperty.Builder dataFreshnessInSeconds(Number dataFreshnessInSeconds) - Parameters:
dataFreshnessInSeconds- The maximum time in seconds the channel buffers records before delivery if the minimum target file size is not reached.- Returns:
this
-
deadLetterQueueS3Configuration
@Stability(Stable) public CfnChannel.S3DestinationConfigurationProperty.Builder deadLetterQueueS3Configuration(IResolvable deadLetterQueueS3Configuration) - Parameters:
deadLetterQueueS3Configuration- Configuration of the S3 bucket used to capture records that cannot be delivered to the primary destination.- Returns:
this
-
deadLetterQueueS3Configuration
@Stability(Stable) public CfnChannel.S3DestinationConfigurationProperty.Builder deadLetterQueueS3Configuration(CfnChannel.DeadLetterQueueS3ConfigurationProperty deadLetterQueueS3Configuration) - Parameters:
deadLetterQueueS3Configuration- Configuration of the S3 bucket used to capture records that cannot be delivered to the primary destination.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannel.S3DestinationConfigurationProperty>- Returns:
- a new instance of
CfnChannel.S3DestinationConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-