Interface CreateReplicatorRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateReplicatorRequest.Builder,
,CreateReplicatorRequest> KafkaRequest.Builder
,SdkBuilder<CreateReplicatorRequest.Builder,
,CreateReplicatorRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateReplicatorRequest
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) A summary description of the replicator.kafkaClusters
(Collection<KafkaCluster> kafkaClusters) Kafka Clusters to use in setting up sources / targets for replication.kafkaClusters
(Consumer<KafkaCluster.Builder>... kafkaClusters) Kafka Clusters to use in setting up sources / targets for replication.kafkaClusters
(KafkaCluster... kafkaClusters) Kafka Clusters to use in setting up sources / targets for replication.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.replicationInfoList
(Collection<ReplicationInfo> replicationInfoList) A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow.replicationInfoList
(Consumer<ReplicationInfo.Builder>... replicationInfoList) A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow.replicationInfoList
(ReplicationInfo... 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.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.kafka.model.KafkaRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
description
A summary description of the replicator.
- Parameters:
description
- A summary description of the replicator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kafkaClusters
Kafka Clusters to use in setting up sources / targets for replication.
This is a convenience method that creates an instance of theKafkaCluster.Builder
avoiding the need to create one manually viaKafkaCluster.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tokafkaClusters(List<KafkaCluster>)
.- Parameters:
kafkaClusters
- a consumer that will call methods onKafkaCluster.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
replicationInfoList
CreateReplicatorRequest.Builder replicationInfoList(Collection<ReplicationInfo> 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicationInfoList
CreateReplicatorRequest.Builder replicationInfoList(Consumer<ReplicationInfo.Builder>... replicationInfoList) A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow.
This is a convenience method that creates an instance of theReplicationInfo.Builder
avoiding the need to create one manually viaReplicationInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toreplicationInfoList(List<ReplicationInfo>)
.- Parameters:
replicationInfoList
- a consumer that will call methods onReplicationInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
replicatorName
The name of the replicator. Alpha-numeric characters with '-' are allowed.
- Parameters:
replicatorName
- The name of the replicator. Alpha-numeric characters with '-' are allowed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
List of tags to attach to created Replicator.
- Parameters:
tags
- List of tags to attach to created Replicator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateReplicatorRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateReplicatorRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-