Interface UpdateReplicationInfoRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateReplicationInfoRequest.Builder,
,UpdateReplicationInfoRequest> KafkaRequest.Builder
,SdkBuilder<UpdateReplicationInfoRequest.Builder,
,UpdateReplicationInfoRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateReplicationInfoRequest
public static interface UpdateReplicationInfoRequest.Builder
extends KafkaRequest.Builder, SdkPojo, CopyableBuilder<UpdateReplicationInfoRequest.Builder,UpdateReplicationInfoRequest>
-
Method Summary
Modifier and TypeMethodDescriptionconsumerGroupReplication
(Consumer<ConsumerGroupReplicationUpdate.Builder> consumerGroupReplication) Updated consumer group replication information.consumerGroupReplication
(ConsumerGroupReplicationUpdate consumerGroupReplication) Updated consumer group replication information.currentVersion
(String currentVersion) Current replicator version.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.replicatorArn
(String replicatorArn) The Amazon Resource Name (ARN) of the replicator to be updated.sourceKafkaClusterArn
(String sourceKafkaClusterArn) The ARN of the source Kafka cluster.targetKafkaClusterArn
(String targetKafkaClusterArn) The ARN of the target Kafka cluster.topicReplication
(Consumer<TopicReplicationUpdate.Builder> topicReplication) Updated topic replication information.topicReplication
(TopicReplicationUpdate topicReplication) Updated topic replication information.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
-
consumerGroupReplication
UpdateReplicationInfoRequest.Builder consumerGroupReplication(ConsumerGroupReplicationUpdate consumerGroupReplication) Updated consumer group replication information.
- Parameters:
consumerGroupReplication
- Updated consumer group replication information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
consumerGroupReplication
default UpdateReplicationInfoRequest.Builder consumerGroupReplication(Consumer<ConsumerGroupReplicationUpdate.Builder> consumerGroupReplication) Updated consumer group replication information.
This is a convenience method that creates an instance of theConsumerGroupReplicationUpdate.Builder
avoiding the need to create one manually viaConsumerGroupReplicationUpdate.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconsumerGroupReplication(ConsumerGroupReplicationUpdate)
.- Parameters:
consumerGroupReplication
- a consumer that will call methods onConsumerGroupReplicationUpdate.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
currentVersion
Current replicator version.
- Parameters:
currentVersion
- Current replicator version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicatorArn
The Amazon Resource Name (ARN) of the replicator to be updated.
- Parameters:
replicatorArn
- The Amazon Resource Name (ARN) of the replicator to be updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceKafkaClusterArn
The ARN of the source Kafka cluster.
- Parameters:
sourceKafkaClusterArn
- The ARN of the source Kafka cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetKafkaClusterArn
The ARN of the target Kafka cluster.
- Parameters:
targetKafkaClusterArn
- The ARN of the target Kafka cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topicReplication
Updated topic replication information.
- Parameters:
topicReplication
- Updated topic replication information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topicReplication
default UpdateReplicationInfoRequest.Builder topicReplication(Consumer<TopicReplicationUpdate.Builder> topicReplication) Updated topic replication information.
This is a convenience method that creates an instance of theTopicReplicationUpdate.Builder
avoiding the need to create one manually viaTopicReplicationUpdate.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totopicReplication(TopicReplicationUpdate)
.- Parameters:
topicReplication
- a consumer that will call methods onTopicReplicationUpdate.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateReplicationInfoRequest.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
UpdateReplicationInfoRequest.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.
-