Class CfnChannel.DestinationTableProperty.Builder
java.lang.Object
software.amazon.awscdk.services.msk.CfnChannel.DestinationTableProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.DestinationTableProperty>
- Enclosing interface:
CfnChannel.DestinationTableProperty
@Stability(Stable)
public static final class CfnChannel.DestinationTableProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.DestinationTableProperty>
A builder for
CfnChannel.DestinationTableProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.destinationDatabaseName(String destinationDatabaseName) Sets the value ofCfnChannel.DestinationTableProperty.getDestinationDatabaseName()destinationTableName(String destinationTableName) Sets the value ofCfnChannel.DestinationTableProperty.getDestinationTableName()partitionSpec(IResolvable partitionSpec) Sets the value ofCfnChannel.DestinationTableProperty.getPartitionSpec()partitionSpec(CfnChannel.PartitionSpecProperty partitionSpec) Sets the value ofCfnChannel.DestinationTableProperty.getPartitionSpec()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destinationDatabaseName
@Stability(Stable) public CfnChannel.DestinationTableProperty.Builder destinationDatabaseName(String destinationDatabaseName) Sets the value ofCfnChannel.DestinationTableProperty.getDestinationDatabaseName()- Parameters:
destinationDatabaseName- The destination database name. This parameter is required.- Returns:
this
-
destinationTableName
@Stability(Stable) public CfnChannel.DestinationTableProperty.Builder destinationTableName(String destinationTableName) Sets the value ofCfnChannel.DestinationTableProperty.getDestinationTableName()- Parameters:
destinationTableName- The destination table name. This parameter is required.- Returns:
this
-
partitionSpec
@Stability(Stable) public CfnChannel.DestinationTableProperty.Builder partitionSpec(IResolvable partitionSpec) Sets the value ofCfnChannel.DestinationTableProperty.getPartitionSpec()- Parameters:
partitionSpec- Partition specification.- Returns:
this
-
partitionSpec
@Stability(Stable) public CfnChannel.DestinationTableProperty.Builder partitionSpec(CfnChannel.PartitionSpecProperty partitionSpec) Sets the value ofCfnChannel.DestinationTableProperty.getPartitionSpec()- Parameters:
partitionSpec- Partition specification.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannel.DestinationTableProperty>- Returns:
- a new instance of
CfnChannel.DestinationTableProperty - Throws:
NullPointerException- if any required attribute was not provided
-