Class CfnChannel.S3TableConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kinesis.CfnChannel.S3TableConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.S3TableConfigurationProperty>
- Enclosing interface:
CfnChannel.S3TableConfigurationProperty
@Stability(Stable)
public static final class CfnChannel.S3TableConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.S3TableConfigurationProperty>
A builder for
CfnChannel.S3TableConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.compressionType(String compressionType) Sets the value ofCfnChannel.S3TableConfigurationProperty.getCompressionType()Sets the value ofCfnChannel.S3TableConfigurationProperty.getNamespace()partitionSpec(IResolvable partitionSpec) Sets the value ofCfnChannel.S3TableConfigurationProperty.getPartitionSpec()partitionSpec(CfnChannel.PartitionSpecProperty partitionSpec) Sets the value ofCfnChannel.S3TableConfigurationProperty.getPartitionSpec()tableBucketArn(String tableBucketArn) Sets the value ofCfnChannel.S3TableConfigurationProperty.getTableBucketArn()Sets the value ofCfnChannel.S3TableConfigurationProperty.getTableName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
compressionType
@Stability(Stable) public CfnChannel.S3TableConfigurationProperty.Builder compressionType(String compressionType) Sets the value ofCfnChannel.S3TableConfigurationProperty.getCompressionType()- Parameters:
compressionType- The compression algorithm applied to objects delivered to the S3 Tables destination. This parameter is required.- Returns:
this
-
namespace
@Stability(Stable) public CfnChannel.S3TableConfigurationProperty.Builder namespace(String namespace) Sets the value ofCfnChannel.S3TableConfigurationProperty.getNamespace()- Parameters:
namespace- The name of the S3 Tables namespace that contains the destination table. This parameter is required.- Returns:
this
-
tableBucketArn
@Stability(Stable) public CfnChannel.S3TableConfigurationProperty.Builder tableBucketArn(String tableBucketArn) Sets the value ofCfnChannel.S3TableConfigurationProperty.getTableBucketArn()- Parameters:
tableBucketArn- The ARN of the S3 Tables table bucket for record delivery. This parameter is required. Buckets can be cross-account but must be in the same region as the channel.- Returns:
this
-
tableName
@Stability(Stable) public CfnChannel.S3TableConfigurationProperty.Builder tableName(String tableName) Sets the value ofCfnChannel.S3TableConfigurationProperty.getTableName()- Parameters:
tableName- The name of the destination S3 Tables table. This parameter is required. The table is created for the customer if it does not yet exist.- Returns:
this
-
partitionSpec
@Stability(Stable) public CfnChannel.S3TableConfigurationProperty.Builder partitionSpec(IResolvable partitionSpec) Sets the value ofCfnChannel.S3TableConfigurationProperty.getPartitionSpec()- Parameters:
partitionSpec- Partitioning specification for the destination Iceberg table. Follows the S3 Tables / Iceberg PartitionSpec format.- Returns:
this
-
partitionSpec
@Stability(Stable) public CfnChannel.S3TableConfigurationProperty.Builder partitionSpec(CfnChannel.PartitionSpecProperty partitionSpec) Sets the value ofCfnChannel.S3TableConfigurationProperty.getPartitionSpec()- Parameters:
partitionSpec- Partitioning specification for the destination Iceberg table. Follows the S3 Tables / Iceberg PartitionSpec format.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannel.S3TableConfigurationProperty>- Returns:
- a new instance of
CfnChannel.S3TableConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-