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