Class CfnConnectorPropsMixin.ApacheKafkaClusterProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.kafkaconnect.CfnConnectorPropsMixin.ApacheKafkaClusterProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnectorPropsMixin.ApacheKafkaClusterProperty>
- Enclosing interface:
CfnConnectorPropsMixin.ApacheKafkaClusterProperty
@Stability(Stable)
public static final class CfnConnectorPropsMixin.ApacheKafkaClusterProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnectorPropsMixin.ApacheKafkaClusterProperty>
A builder for
CfnConnectorPropsMixin.ApacheKafkaClusterProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbootstrapServers(String bootstrapServers) Sets the value ofCfnConnectorPropsMixin.ApacheKafkaClusterProperty.getBootstrapServers()build()Builds the configured instance.Sets the value ofCfnConnectorPropsMixin.ApacheKafkaClusterProperty.getVpc()vpc(IResolvable vpc) Sets the value ofCfnConnectorPropsMixin.ApacheKafkaClusterProperty.getVpc()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bootstrapServers
@Stability(Stable) public CfnConnectorPropsMixin.ApacheKafkaClusterProperty.Builder bootstrapServers(String bootstrapServers) Sets the value ofCfnConnectorPropsMixin.ApacheKafkaClusterProperty.getBootstrapServers()- Parameters:
bootstrapServers- The bootstrap servers of the cluster.- Returns:
this
-
vpc
@Stability(Stable) public CfnConnectorPropsMixin.ApacheKafkaClusterProperty.Builder vpc(IResolvable vpc) Sets the value ofCfnConnectorPropsMixin.ApacheKafkaClusterProperty.getVpc()- Parameters:
vpc- Details of an Amazon VPC which has network connectivity to the Apache Kafka cluster.- Returns:
this
-
vpc
@Stability(Stable) public CfnConnectorPropsMixin.ApacheKafkaClusterProperty.Builder vpc(CfnConnectorPropsMixin.VpcProperty vpc) Sets the value ofCfnConnectorPropsMixin.ApacheKafkaClusterProperty.getVpc()- Parameters:
vpc- Details of an Amazon VPC which has network connectivity to the Apache Kafka cluster.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConnectorPropsMixin.ApacheKafkaClusterProperty>- Returns:
- a new instance of
CfnConnectorPropsMixin.ApacheKafkaClusterProperty - Throws:
NullPointerException- if any required attribute was not provided
-