Class CfnReplicatorPropsMixin.ReplicationInfoProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.msk.CfnReplicatorPropsMixin.ReplicationInfoProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnReplicatorPropsMixin.ReplicationInfoProperty>
- Enclosing interface:
CfnReplicatorPropsMixin.ReplicationInfoProperty
@Stability(Stable)
public static final class CfnReplicatorPropsMixin.ReplicationInfoProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnReplicatorPropsMixin.ReplicationInfoProperty>
A builder for
CfnReplicatorPropsMixin.ReplicationInfoProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.consumerGroupReplication(CfnReplicatorPropsMixin.ConsumerGroupReplicationProperty consumerGroupReplication) consumerGroupReplication(IResolvable consumerGroupReplication) sourceKafkaClusterArn(String sourceKafkaClusterArn) targetCompressionType(String targetCompressionType) targetKafkaClusterArn(String targetKafkaClusterArn) topicReplication(CfnReplicatorPropsMixin.TopicReplicationProperty topicReplication) Sets the value ofCfnReplicatorPropsMixin.ReplicationInfoProperty.getTopicReplication()topicReplication(IResolvable topicReplication) Sets the value ofCfnReplicatorPropsMixin.ReplicationInfoProperty.getTopicReplication()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
consumerGroupReplication
@Stability(Stable) public CfnReplicatorPropsMixin.ReplicationInfoProperty.Builder consumerGroupReplication(IResolvable consumerGroupReplication) - Parameters:
consumerGroupReplication- Configuration relating to consumer group replication.- Returns:
this
-
consumerGroupReplication
@Stability(Stable) public CfnReplicatorPropsMixin.ReplicationInfoProperty.Builder consumerGroupReplication(CfnReplicatorPropsMixin.ConsumerGroupReplicationProperty consumerGroupReplication) - Parameters:
consumerGroupReplication- Configuration relating to consumer group replication.- Returns:
this
-
sourceKafkaClusterArn
@Stability(Stable) public CfnReplicatorPropsMixin.ReplicationInfoProperty.Builder sourceKafkaClusterArn(String sourceKafkaClusterArn) - Parameters:
sourceKafkaClusterArn- The ARN of the source Kafka cluster.- Returns:
this
-
targetCompressionType
@Stability(Stable) public CfnReplicatorPropsMixin.ReplicationInfoProperty.Builder targetCompressionType(String targetCompressionType) - Parameters:
targetCompressionType- The compression type to use when producing records to target cluster.- Returns:
this
-
targetKafkaClusterArn
@Stability(Stable) public CfnReplicatorPropsMixin.ReplicationInfoProperty.Builder targetKafkaClusterArn(String targetKafkaClusterArn) - Parameters:
targetKafkaClusterArn- The ARN of the target Kafka cluster.- Returns:
this
-
topicReplication
@Stability(Stable) public CfnReplicatorPropsMixin.ReplicationInfoProperty.Builder topicReplication(IResolvable topicReplication) Sets the value ofCfnReplicatorPropsMixin.ReplicationInfoProperty.getTopicReplication()- Parameters:
topicReplication- Configuration relating to topic replication.- Returns:
this
-
topicReplication
@Stability(Stable) public CfnReplicatorPropsMixin.ReplicationInfoProperty.Builder topicReplication(CfnReplicatorPropsMixin.TopicReplicationProperty topicReplication) Sets the value ofCfnReplicatorPropsMixin.ReplicationInfoProperty.getTopicReplication()- Parameters:
topicReplication- Configuration relating to topic replication.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnReplicatorPropsMixin.ReplicationInfoProperty>- Returns:
- a new instance of
CfnReplicatorPropsMixin.ReplicationInfoProperty - Throws:
NullPointerException- if any required attribute was not provided
-