Class CfnTopic.Builder
java.lang.Object
software.amazon.awscdk.services.msk.CfnTopic.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTopic>
- Enclosing class:
CfnTopic
@Stability(Stable)
public static final class CfnTopic.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTopic>
A fluent builder for
CfnTopic.-
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 CfnTopic.BuilderpartitionCount(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
@Stability(Stable) public static CfnTopic.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnTopic.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:
-
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:
-
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:
-
build
-