Interface CreateReplicatorRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateReplicatorRequest.Builder,CreateReplicatorRequest>
,KafkaRequest.Builder
,SdkBuilder<CreateReplicatorRequest.Builder,CreateReplicatorRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- CreateReplicatorRequest
public static interface CreateReplicatorRequest.Builder extends KafkaRequest.Builder, SdkPojo, CopyableBuilder<CreateReplicatorRequest.Builder,CreateReplicatorRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateReplicatorRequest.Builder
description(String description)
A summary description of the replicator.CreateReplicatorRequest.Builder
kafkaClusters(Collection<KafkaCluster> kafkaClusters)
Kafka Clusters to use in setting up sources / targets for replication.CreateReplicatorRequest.Builder
kafkaClusters(Consumer<KafkaCluster.Builder>... kafkaClusters)
Kafka Clusters to use in setting up sources / targets for replication.CreateReplicatorRequest.Builder
kafkaClusters(KafkaCluster... kafkaClusters)
Kafka Clusters to use in setting up sources / targets for replication.CreateReplicatorRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
CreateReplicatorRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
CreateReplicatorRequest.Builder
replicationInfoList(Collection<ReplicationInfo> replicationInfoList)
A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow.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.CreateReplicatorRequest.Builder
replicationInfoList(ReplicationInfo... replicationInfoList)
A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow.CreateReplicatorRequest.Builder
replicatorName(String replicatorName)
The name of the replicator.CreateReplicatorRequest.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)CreateReplicatorRequest.Builder
tags(Map<String,String> tags)
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 Detail
-
description
CreateReplicatorRequest.Builder description(String 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
CreateReplicatorRequest.Builder kafkaClusters(Collection<KafkaCluster> 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
CreateReplicatorRequest.Builder kafkaClusters(KafkaCluster... 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
CreateReplicatorRequest.Builder kafkaClusters(Consumer<KafkaCluster.Builder>... 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 to#kafkaClusters(List
.) - 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:
#kafkaClusters(java.util.Collection
)
-
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
CreateReplicatorRequest.Builder replicationInfoList(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
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 to#replicationInfoList(List
.) - 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:
#replicationInfoList(java.util.Collection
)
-
replicatorName
CreateReplicatorRequest.Builder replicatorName(String 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
CreateReplicatorRequest.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)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateReplicatorRequest.Builder tags(Map<String,String> 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)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
CreateReplicatorRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-