Class CfnChannel.IcebergDestinationConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.msk.CfnChannel.IcebergDestinationConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.IcebergDestinationConfigurationProperty>
- Enclosing interface:
CfnChannel.IcebergDestinationConfigurationProperty
@Stability(Stable)
public static final class CfnChannel.IcebergDestinationConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.IcebergDestinationConfigurationProperty>
A builder for
CfnChannel.IcebergDestinationConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappendOnly(Boolean appendOnly) Sets the value ofCfnChannel.IcebergDestinationConfigurationProperty.getAppendOnly()appendOnly(IResolvable appendOnly) Sets the value ofCfnChannel.IcebergDestinationConfigurationProperty.getAppendOnly()build()Builds the configured instance.catalog(IResolvable catalog) Sets the value ofCfnChannel.IcebergDestinationConfigurationProperty.getCatalog()catalog(CfnChannel.CatalogProperty catalog) Sets the value ofCfnChannel.IcebergDestinationConfigurationProperty.getCatalog()compressionType(String compressionType) Sets the value ofCfnChannel.IcebergDestinationConfigurationProperty.getCompressionType()dataFreshnessInSeconds(Number dataFreshnessInSeconds) deadLetterQueueS3(IResolvable deadLetterQueueS3) deadLetterQueueS3(CfnChannel.DeadLetterQueueS3Property deadLetterQueueS3) destinationTableList(List<? extends Object> destinationTableList) destinationTableList(IResolvable destinationTableList) schemaEvolution(IResolvable schemaEvolution) Sets the value ofCfnChannel.IcebergDestinationConfigurationProperty.getSchemaEvolution()schemaEvolution(CfnChannel.SchemaEvolutionProperty schemaEvolution) Sets the value ofCfnChannel.IcebergDestinationConfigurationProperty.getSchemaEvolution()serviceExecutionRoleArn(String serviceExecutionRoleArn) tableCreation(IResolvable tableCreation) Sets the value ofCfnChannel.IcebergDestinationConfigurationProperty.getTableCreation()tableCreation(CfnChannel.TableCreationProperty tableCreation) Sets the value ofCfnChannel.IcebergDestinationConfigurationProperty.getTableCreation()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
appendOnly
@Stability(Stable) public CfnChannel.IcebergDestinationConfigurationProperty.Builder appendOnly(Boolean appendOnly) Sets the value ofCfnChannel.IcebergDestinationConfigurationProperty.getAppendOnly()- Parameters:
appendOnly- Append only mode. This parameter is required.- Returns:
this
-
appendOnly
@Stability(Stable) public CfnChannel.IcebergDestinationConfigurationProperty.Builder appendOnly(IResolvable appendOnly) Sets the value ofCfnChannel.IcebergDestinationConfigurationProperty.getAppendOnly()- Parameters:
appendOnly- Append only mode. This parameter is required.- Returns:
this
-
deadLetterQueueS3
@Stability(Stable) public CfnChannel.IcebergDestinationConfigurationProperty.Builder deadLetterQueueS3(IResolvable deadLetterQueueS3) - Parameters:
deadLetterQueueS3- Dead letter queue S3 configuration of the destination. This parameter is required.- Returns:
this
-
deadLetterQueueS3
@Stability(Stable) public CfnChannel.IcebergDestinationConfigurationProperty.Builder deadLetterQueueS3(CfnChannel.DeadLetterQueueS3Property deadLetterQueueS3) - Parameters:
deadLetterQueueS3- Dead letter queue S3 configuration of the destination. This parameter is required.- Returns:
this
-
destinationTableList
@Stability(Stable) public CfnChannel.IcebergDestinationConfigurationProperty.Builder destinationTableList(IResolvable destinationTableList) - Parameters:
destinationTableList- List of destination tables. This parameter is required.- Returns:
this
-
destinationTableList
@Stability(Stable) public CfnChannel.IcebergDestinationConfigurationProperty.Builder destinationTableList(List<? extends Object> destinationTableList) - Parameters:
destinationTableList- List of destination tables. This parameter is required.- Returns:
this
-
schemaEvolution
@Stability(Stable) public CfnChannel.IcebergDestinationConfigurationProperty.Builder schemaEvolution(IResolvable schemaEvolution) Sets the value ofCfnChannel.IcebergDestinationConfigurationProperty.getSchemaEvolution()- Parameters:
schemaEvolution- Schema evolution configuration of the destination. This parameter is required.- Returns:
this
-
schemaEvolution
@Stability(Stable) public CfnChannel.IcebergDestinationConfigurationProperty.Builder schemaEvolution(CfnChannel.SchemaEvolutionProperty schemaEvolution) Sets the value ofCfnChannel.IcebergDestinationConfigurationProperty.getSchemaEvolution()- Parameters:
schemaEvolution- Schema evolution configuration of the destination. This parameter is required.- Returns:
this
-
serviceExecutionRoleArn
@Stability(Stable) public CfnChannel.IcebergDestinationConfigurationProperty.Builder serviceExecutionRoleArn(String serviceExecutionRoleArn) - Parameters:
serviceExecutionRoleArn- The Amazon Resource Name (ARN) of an IAM role used by MSK to access the table. This parameter is required.- Returns:
this
-
tableCreation
@Stability(Stable) public CfnChannel.IcebergDestinationConfigurationProperty.Builder tableCreation(IResolvable tableCreation) Sets the value ofCfnChannel.IcebergDestinationConfigurationProperty.getTableCreation()- Parameters:
tableCreation- Table creation configuration of the destination. This parameter is required.- Returns:
this
-
tableCreation
@Stability(Stable) public CfnChannel.IcebergDestinationConfigurationProperty.Builder tableCreation(CfnChannel.TableCreationProperty tableCreation) Sets the value ofCfnChannel.IcebergDestinationConfigurationProperty.getTableCreation()- Parameters:
tableCreation- Table creation configuration of the destination. This parameter is required.- Returns:
this
-
catalog
@Stability(Stable) public CfnChannel.IcebergDestinationConfigurationProperty.Builder catalog(IResolvable catalog) Sets the value ofCfnChannel.IcebergDestinationConfigurationProperty.getCatalog()- Parameters:
catalog- Catalog configuration of the destination.- Returns:
this
-
catalog
@Stability(Stable) public CfnChannel.IcebergDestinationConfigurationProperty.Builder catalog(CfnChannel.CatalogProperty catalog) Sets the value ofCfnChannel.IcebergDestinationConfigurationProperty.getCatalog()- Parameters:
catalog- Catalog configuration of the destination.- Returns:
this
-
compressionType
@Stability(Stable) public CfnChannel.IcebergDestinationConfigurationProperty.Builder compressionType(String compressionType) Sets the value ofCfnChannel.IcebergDestinationConfigurationProperty.getCompressionType()- Parameters:
compressionType- Compression codec for Iceberg table data files. Defaults to ZSTD.- Returns:
this
-
dataFreshnessInSeconds
@Stability(Stable) public CfnChannel.IcebergDestinationConfigurationProperty.Builder dataFreshnessInSeconds(Number dataFreshnessInSeconds) - Parameters:
dataFreshnessInSeconds- Data freshness in seconds.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannel.IcebergDestinationConfigurationProperty>- Returns:
- a new instance of
CfnChannel.IcebergDestinationConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-