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
currentVersion
(String currentVersion) The current version of the MSK replicator.description
(String description) A summary description of the replicator.kafkaClusters
(List<? extends Object> kafkaClusters) Specifies a list of Kafka clusters which are targets of the replicator.kafkaClusters
(IResolvable kafkaClusters) Specifies a list of Kafka clusters which are targets of the replicator.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 Amazon Resource Name (ARN) of the IAM role used by the replicator to access external resources.A collection of tags associated with a resource.
-
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
Specifies a list of Kafka clusters which are targets of the replicator.- Parameters:
kafkaClusters
- Specifies a list of Kafka clusters which are targets of the replicator. This parameter is required.- Returns:
this
- See Also:
-
kafkaClusters
Specifies a list of Kafka clusters which are targets of the replicator.- Parameters:
kafkaClusters
- Specifies a list of Kafka clusters which are targets of the replicator. 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.- 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 Amazon Resource Name (ARN) of the IAM role used by the replicator to access external resources.- Parameters:
serviceExecutionRoleArn
- The Amazon Resource Name (ARN) of the IAM role used by the replicator to access external resources. This parameter is required.- Returns:
this
- See Also:
-
currentVersion
The current version of the MSK replicator.- Parameters:
currentVersion
- The current version of the MSK replicator. 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
A collection of tags associated with a resource.- Parameters:
tags
- A collection of tags associated with a resource. 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
.
-