Class CfnChannel.S3TablesDestinationConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kinesis.CfnChannel.S3TablesDestinationConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.S3TablesDestinationConfigurationProperty>
- Enclosing interface:
CfnChannel.S3TablesDestinationConfigurationProperty
@Stability(Stable)
public static final class CfnChannel.S3TablesDestinationConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.S3TablesDestinationConfigurationProperty>
A builder for
CfnChannel.S3TablesDestinationConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.dataFreshnessInSeconds(Number dataFreshnessInSeconds) deadLetterQueueS3Configuration(IResolvable deadLetterQueueS3Configuration) deadLetterQueueS3Configuration(CfnChannel.DeadLetterQueueS3ConfigurationProperty deadLetterQueueS3Configuration) s3TablesConfigurationList(List<? extends Object> s3TablesConfigurationList) s3TablesConfigurationList(IResolvable s3TablesConfigurationList)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
deadLetterQueueS3Configuration
@Stability(Stable) public CfnChannel.S3TablesDestinationConfigurationProperty.Builder deadLetterQueueS3Configuration(IResolvable deadLetterQueueS3Configuration) Sets the value ofCfnChannel.S3TablesDestinationConfigurationProperty.getDeadLetterQueueS3Configuration()- Parameters:
deadLetterQueueS3Configuration- Configuration of the S3 bucket used to capture records that cannot be delivered to the primary destination. This parameter is required.- Returns:
this
-
deadLetterQueueS3Configuration
@Stability(Stable) public CfnChannel.S3TablesDestinationConfigurationProperty.Builder deadLetterQueueS3Configuration(CfnChannel.DeadLetterQueueS3ConfigurationProperty deadLetterQueueS3Configuration) Sets the value ofCfnChannel.S3TablesDestinationConfigurationProperty.getDeadLetterQueueS3Configuration()- Parameters:
deadLetterQueueS3Configuration- Configuration of the S3 bucket used to capture records that cannot be delivered to the primary destination. This parameter is required.- Returns:
this
-
s3TablesConfigurationList
@Stability(Stable) public CfnChannel.S3TablesDestinationConfigurationProperty.Builder s3TablesConfigurationList(IResolvable s3TablesConfigurationList) Sets the value ofCfnChannel.S3TablesDestinationConfigurationProperty.getS3TablesConfigurationList()- Parameters:
s3TablesConfigurationList- The list of S3 Tables destinations. This parameter is required. v1 supports a single element; the list shape allows future extensibility to fan out to multiple tables.- Returns:
this
-
s3TablesConfigurationList
@Stability(Stable) public CfnChannel.S3TablesDestinationConfigurationProperty.Builder s3TablesConfigurationList(List<? extends Object> s3TablesConfigurationList) Sets the value ofCfnChannel.S3TablesDestinationConfigurationProperty.getS3TablesConfigurationList()- Parameters:
s3TablesConfigurationList- The list of S3 Tables destinations. This parameter is required. v1 supports a single element; the list shape allows future extensibility to fan out to multiple tables.- Returns:
this
-
dataFreshnessInSeconds
@Stability(Stable) public CfnChannel.S3TablesDestinationConfigurationProperty.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
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannel.S3TablesDestinationConfigurationProperty>- Returns:
- a new instance of
CfnChannel.S3TablesDestinationConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-