Class CfnReplicatorPropsMixin.ApacheKafkaClusterProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.msk.CfnReplicatorPropsMixin.ApacheKafkaClusterProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnReplicatorPropsMixin.ApacheKafkaClusterProperty>
- Enclosing interface:
CfnReplicatorPropsMixin.ApacheKafkaClusterProperty
@Stability(Stable)
public static final class CfnReplicatorPropsMixin.ApacheKafkaClusterProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnReplicatorPropsMixin.ApacheKafkaClusterProperty>
A builder for
CfnReplicatorPropsMixin.ApacheKafkaClusterProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapacheKafkaClusterId(String apacheKafkaClusterId) bootstrapBrokerString(String bootstrapBrokerString) build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
apacheKafkaClusterId
@Stability(Stable) public CfnReplicatorPropsMixin.ApacheKafkaClusterProperty.Builder apacheKafkaClusterId(String apacheKafkaClusterId) - Parameters:
apacheKafkaClusterId- The ID of the Apache Kafka cluster.- Returns:
this
-
bootstrapBrokerString
@Stability(Stable) public CfnReplicatorPropsMixin.ApacheKafkaClusterProperty.Builder bootstrapBrokerString(String bootstrapBrokerString) - Parameters:
bootstrapBrokerString- The bootstrap broker string of the Apache Kafka cluster.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnReplicatorPropsMixin.ApacheKafkaClusterProperty>- Returns:
- a new instance of
CfnReplicatorPropsMixin.ApacheKafkaClusterProperty - Throws:
NullPointerException- if any required attribute was not provided
-