Class CfnConnectorPropsMixin.KafkaClusterProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.kafkaconnect.mixins.CfnConnectorPropsMixin.KafkaClusterProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnectorPropsMixin.KafkaClusterProperty>
- Enclosing interface:
CfnConnectorPropsMixin.KafkaClusterProperty
@Stability(Stable)
public static final class CfnConnectorPropsMixin.KafkaClusterProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnectorPropsMixin.KafkaClusterProperty>
A builder for
CfnConnectorPropsMixin.KafkaClusterProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapacheKafkaCluster(IResolvable apacheKafkaCluster) Sets the value ofCfnConnectorPropsMixin.KafkaClusterProperty.getApacheKafkaCluster()apacheKafkaCluster(CfnConnectorPropsMixin.ApacheKafkaClusterProperty apacheKafkaCluster) Sets the value ofCfnConnectorPropsMixin.KafkaClusterProperty.getApacheKafkaCluster()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
apacheKafkaCluster
@Stability(Stable) public CfnConnectorPropsMixin.KafkaClusterProperty.Builder apacheKafkaCluster(IResolvable apacheKafkaCluster) Sets the value ofCfnConnectorPropsMixin.KafkaClusterProperty.getApacheKafkaCluster()- Parameters:
apacheKafkaCluster- The Apache Kafka cluster to which the connector is connected.- Returns:
this
-
apacheKafkaCluster
@Stability(Stable) public CfnConnectorPropsMixin.KafkaClusterProperty.Builder apacheKafkaCluster(CfnConnectorPropsMixin.ApacheKafkaClusterProperty apacheKafkaCluster) Sets the value ofCfnConnectorPropsMixin.KafkaClusterProperty.getApacheKafkaCluster()- Parameters:
apacheKafkaCluster- The Apache Kafka cluster to which the connector is connected.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConnectorPropsMixin.KafkaClusterProperty>- Returns:
- a new instance of
CfnConnectorPropsMixin.KafkaClusterProperty - Throws:
NullPointerException- if any required attribute was not provided
-