Class CfnTopicPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.msk.CfnTopicPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTopicPropsMixin>
- Enclosing class:
CfnTopicPropsMixin
@Stability(Stable)
public static final class CfnTopicPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTopicPropsMixin>
A fluent builder for
CfnTopicPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()clusterArn(String clusterArn) The Amazon Resource Name (ARN) of the MSK cluster.Base64 encoded configuration properties of the topic.static CfnTopicPropsMixin.Buildercreate()static CfnTopicPropsMixin.Buildercreate(CfnPropertyMixinOptions options) partitionCount(Number partitionCount) The number of partitions for the topic.replicationFactor(Number replicationFactor) The replication factor for the topic.The name of the topic.
-
Method Details
-
create
- Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnTopicPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnTopicPropsMixin.Builder.
-
clusterArn
The Amazon Resource Name (ARN) of the MSK cluster.- Parameters:
clusterArn- The Amazon Resource Name (ARN) of the MSK cluster. This parameter is required.- Returns:
this- See Also:
-
configs
Base64 encoded configuration properties of the topic.- Parameters:
configs- Base64 encoded configuration properties of the topic. This parameter is required.- Returns:
this- See Also:
-
partitionCount
The number of partitions for the topic.- Parameters:
partitionCount- The number of partitions for the topic. This parameter is required.- Returns:
this- See Also:
-
replicationFactor
The replication factor for the topic.- Parameters:
replicationFactor- The replication factor for the topic. This parameter is required.- Returns:
this- See Also:
-
topicName
The name of the topic.- Parameters:
topicName- The name of the topic. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTopicPropsMixin>- Returns:
- a newly built instance of
CfnTopicPropsMixin.
-