Class CfnReplicatorMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.msk.CfnReplicatorMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnReplicatorMixinProps>
- Enclosing interface:
CfnReplicatorMixinProps
@Stability(Stable)
public static final class CfnReplicatorMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnReplicatorMixinProps>
A builder for
CfnReplicatorMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnReplicatorMixinProps.getDescription()kafkaClusters(List<? extends Object> kafkaClusters) Sets the value ofCfnReplicatorMixinProps.getKafkaClusters()kafkaClusters(IResolvable kafkaClusters) Sets the value ofCfnReplicatorMixinProps.getKafkaClusters()replicationInfoList(List<? extends Object> replicationInfoList) Sets the value ofCfnReplicatorMixinProps.getReplicationInfoList()replicationInfoList(IResolvable replicationInfoList) Sets the value ofCfnReplicatorMixinProps.getReplicationInfoList()replicatorName(String replicatorName) Sets the value ofCfnReplicatorMixinProps.getReplicatorName()serviceExecutionRoleArn(String serviceExecutionRoleArn) Sets the value ofCfnReplicatorMixinProps.getServiceExecutionRoleArn()Sets the value ofCfnReplicatorMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnReplicatorMixinProps.getDescription()- Parameters:
description- A summary description of the replicator.- Returns:
this
-
kafkaClusters
Sets the value ofCfnReplicatorMixinProps.getKafkaClusters()- Parameters:
kafkaClusters- Kafka Clusters to use in setting up sources / targets for replication.- Returns:
this
-
kafkaClusters
@Stability(Stable) public CfnReplicatorMixinProps.Builder kafkaClusters(List<? extends Object> kafkaClusters) Sets the value ofCfnReplicatorMixinProps.getKafkaClusters()- Parameters:
kafkaClusters- Kafka Clusters to use in setting up sources / targets for replication.- Returns:
this
-
replicationInfoList
@Stability(Stable) public CfnReplicatorMixinProps.Builder replicationInfoList(IResolvable replicationInfoList) Sets the value ofCfnReplicatorMixinProps.getReplicationInfoList()- Parameters:
replicationInfoList- A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow.- Returns:
this
-
replicationInfoList
@Stability(Stable) public CfnReplicatorMixinProps.Builder replicationInfoList(List<? extends Object> replicationInfoList) Sets the value ofCfnReplicatorMixinProps.getReplicationInfoList()- Parameters:
replicationInfoList- A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow.- Returns:
this
-
replicatorName
Sets the value ofCfnReplicatorMixinProps.getReplicatorName()- Parameters:
replicatorName- The name of the replicator. Alpha-numeric characters with '-' are allowed.- Returns:
this
-
serviceExecutionRoleArn
@Stability(Stable) public CfnReplicatorMixinProps.Builder serviceExecutionRoleArn(String serviceExecutionRoleArn) Sets the value ofCfnReplicatorMixinProps.getServiceExecutionRoleArn()- Parameters:
serviceExecutionRoleArn- The ARN of the IAM role used by the replicator to access resources in the customer's account (e.g source and target clusters).- Returns:
this
-
tags
Sets the value ofCfnReplicatorMixinProps.getTags()- Parameters:
tags- List of tags to attach to created Replicator.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnReplicatorMixinProps>- Returns:
- a new instance of
CfnReplicatorMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-