Class CfnReplicator.Builder
java.lang.Object
software.amazon.awscdk.services.msk.CfnReplicator.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnReplicator>
- Enclosing class:
CfnReplicator
@Stability(Stable)
public static final class CfnReplicator.Builder
extends Object
implements software.amazon.jsii.Builder<CfnReplicator>
A fluent builder for
CfnReplicator
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnReplicator.Builder
description
(String description) A summary description of the replicator.kafkaClusters
(List<? extends Object> kafkaClusters) Kafka Clusters to use in setting up sources / targets for replication.kafkaClusters
(IResolvable kafkaClusters) Kafka Clusters to use in setting up sources / targets for replication.replicationInfoList
(List<? extends Object> replicationInfoList) A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow.replicationInfoList
(IResolvable replicationInfoList) A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow.replicatorName
(String replicatorName) The name of the replicator.serviceExecutionRoleArn
(String 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).List of tags to attach to created Replicator.
-
Method Details
-
create
@Stability(Stable) public static CfnReplicator.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnReplicator.Builder
.
-
kafkaClusters
Kafka Clusters to use in setting up sources / targets for replication.- Parameters:
kafkaClusters
- Kafka Clusters to use in setting up sources / targets for replication. This parameter is required.- Returns:
this
- See Also:
-
kafkaClusters
Kafka Clusters to use in setting up sources / targets for replication.- Parameters:
kafkaClusters
- Kafka Clusters to use in setting up sources / targets for replication. This parameter is required.- Returns:
this
- See Also:
-
replicationInfoList
@Stability(Stable) public CfnReplicator.Builder replicationInfoList(IResolvable replicationInfoList) A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow.- Parameters:
replicationInfoList
- A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow. This parameter is required.- Returns:
this
- See Also:
-
replicationInfoList
@Stability(Stable) public CfnReplicator.Builder replicationInfoList(List<? extends Object> replicationInfoList) A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow.- Parameters:
replicationInfoList
- A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow. This parameter is required.- Returns:
this
- See Also:
-
replicatorName
The name of the replicator.Alpha-numeric characters with '-' are allowed.
- Parameters:
replicatorName
- The name of the replicator. This parameter is required.- Returns:
this
- See Also:
-
serviceExecutionRoleArn
@Stability(Stable) public CfnReplicator.Builder serviceExecutionRoleArn(String 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).- 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). This parameter is required.- Returns:
this
- See Also:
-
description
A summary description of the replicator.- Parameters:
description
- A summary description of the replicator. This parameter is required.- Returns:
this
- See Also:
-
tags
List of tags to attach to created Replicator.- Parameters:
tags
- List of tags to attach to created Replicator. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnReplicator>
- Returns:
- a newly built instance of
CfnReplicator
.
-