Class CfnReplicatorPropsMixin.KafkaClusterProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.msk.CfnReplicatorPropsMixin.KafkaClusterProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnReplicatorPropsMixin.KafkaClusterProperty>
- Enclosing interface:
CfnReplicatorPropsMixin.KafkaClusterProperty
@Stability(Stable)
public static final class CfnReplicatorPropsMixin.KafkaClusterProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnReplicatorPropsMixin.KafkaClusterProperty>
A builder for
CfnReplicatorPropsMixin.KafkaClusterProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionamazonMskCluster(CfnReplicatorPropsMixin.AmazonMskClusterProperty amazonMskCluster) Sets the value ofCfnReplicatorPropsMixin.KafkaClusterProperty.getAmazonMskCluster()amazonMskCluster(IResolvable amazonMskCluster) Sets the value ofCfnReplicatorPropsMixin.KafkaClusterProperty.getAmazonMskCluster()apacheKafkaCluster(CfnReplicatorPropsMixin.ApacheKafkaClusterProperty apacheKafkaCluster) Sets the value ofCfnReplicatorPropsMixin.KafkaClusterProperty.getApacheKafkaCluster()apacheKafkaCluster(IResolvable apacheKafkaCluster) Sets the value ofCfnReplicatorPropsMixin.KafkaClusterProperty.getApacheKafkaCluster()build()Builds the configured instance.clientAuthentication(CfnReplicatorPropsMixin.KafkaClusterClientAuthenticationProperty clientAuthentication) Sets the value ofCfnReplicatorPropsMixin.KafkaClusterProperty.getClientAuthentication()clientAuthentication(IResolvable clientAuthentication) Sets the value ofCfnReplicatorPropsMixin.KafkaClusterProperty.getClientAuthentication()encryptionInTransit(CfnReplicatorPropsMixin.KafkaClusterEncryptionInTransitProperty encryptionInTransit) Sets the value ofCfnReplicatorPropsMixin.KafkaClusterProperty.getEncryptionInTransit()encryptionInTransit(IResolvable encryptionInTransit) Sets the value ofCfnReplicatorPropsMixin.KafkaClusterProperty.getEncryptionInTransit()Sets the value ofCfnReplicatorPropsMixin.KafkaClusterProperty.getVpcConfig()vpcConfig(IResolvable vpcConfig) Sets the value ofCfnReplicatorPropsMixin.KafkaClusterProperty.getVpcConfig()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
amazonMskCluster
@Stability(Stable) public CfnReplicatorPropsMixin.KafkaClusterProperty.Builder amazonMskCluster(IResolvable amazonMskCluster) Sets the value ofCfnReplicatorPropsMixin.KafkaClusterProperty.getAmazonMskCluster()- Parameters:
amazonMskCluster- Details of an Amazon MSK Cluster.- Returns:
this
-
amazonMskCluster
@Stability(Stable) public CfnReplicatorPropsMixin.KafkaClusterProperty.Builder amazonMskCluster(CfnReplicatorPropsMixin.AmazonMskClusterProperty amazonMskCluster) Sets the value ofCfnReplicatorPropsMixin.KafkaClusterProperty.getAmazonMskCluster()- Parameters:
amazonMskCluster- Details of an Amazon MSK Cluster.- Returns:
this
-
apacheKafkaCluster
@Stability(Stable) public CfnReplicatorPropsMixin.KafkaClusterProperty.Builder apacheKafkaCluster(IResolvable apacheKafkaCluster) Sets the value ofCfnReplicatorPropsMixin.KafkaClusterProperty.getApacheKafkaCluster()- Parameters:
apacheKafkaCluster- Details of an Apache Kafka cluster.- Returns:
this
-
apacheKafkaCluster
@Stability(Stable) public CfnReplicatorPropsMixin.KafkaClusterProperty.Builder apacheKafkaCluster(CfnReplicatorPropsMixin.ApacheKafkaClusterProperty apacheKafkaCluster) Sets the value ofCfnReplicatorPropsMixin.KafkaClusterProperty.getApacheKafkaCluster()- Parameters:
apacheKafkaCluster- Details of an Apache Kafka cluster.- Returns:
this
-
clientAuthentication
@Stability(Stable) public CfnReplicatorPropsMixin.KafkaClusterProperty.Builder clientAuthentication(IResolvable clientAuthentication) Sets the value ofCfnReplicatorPropsMixin.KafkaClusterProperty.getClientAuthentication()- Parameters:
clientAuthentication- Details of the client authentication used by the Apache Kafka cluster.- Returns:
this
-
clientAuthentication
@Stability(Stable) public CfnReplicatorPropsMixin.KafkaClusterProperty.Builder clientAuthentication(CfnReplicatorPropsMixin.KafkaClusterClientAuthenticationProperty clientAuthentication) Sets the value ofCfnReplicatorPropsMixin.KafkaClusterProperty.getClientAuthentication()- Parameters:
clientAuthentication- Details of the client authentication used by the Apache Kafka cluster.- Returns:
this
-
encryptionInTransit
@Stability(Stable) public CfnReplicatorPropsMixin.KafkaClusterProperty.Builder encryptionInTransit(IResolvable encryptionInTransit) Sets the value ofCfnReplicatorPropsMixin.KafkaClusterProperty.getEncryptionInTransit()- Parameters:
encryptionInTransit- Details of encryption in transit to the Apache Kafka cluster.- Returns:
this
-
encryptionInTransit
@Stability(Stable) public CfnReplicatorPropsMixin.KafkaClusterProperty.Builder encryptionInTransit(CfnReplicatorPropsMixin.KafkaClusterEncryptionInTransitProperty encryptionInTransit) Sets the value ofCfnReplicatorPropsMixin.KafkaClusterProperty.getEncryptionInTransit()- Parameters:
encryptionInTransit- Details of encryption in transit to the Apache Kafka cluster.- Returns:
this
-
vpcConfig
@Stability(Stable) public CfnReplicatorPropsMixin.KafkaClusterProperty.Builder vpcConfig(IResolvable vpcConfig) Sets the value ofCfnReplicatorPropsMixin.KafkaClusterProperty.getVpcConfig()- Parameters:
vpcConfig- Details of an Amazon VPC which has network connectivity to the Apache Kafka cluster.- Returns:
this
-
vpcConfig
@Stability(Stable) public CfnReplicatorPropsMixin.KafkaClusterProperty.Builder vpcConfig(CfnReplicatorPropsMixin.KafkaClusterClientVpcConfigProperty vpcConfig) Sets the value ofCfnReplicatorPropsMixin.KafkaClusterProperty.getVpcConfig()- Parameters:
vpcConfig- 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<CfnReplicatorPropsMixin.KafkaClusterProperty>- Returns:
- a new instance of
CfnReplicatorPropsMixin.KafkaClusterProperty - Throws:
NullPointerException- if any required attribute was not provided
-