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
-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
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:
consumerGroupReplication(ConsumerGroupReplicationUpdate)
-
currentVersion
UpdateReplicationInfoRequest.Builder currentVersion(String 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
UpdateReplicationInfoRequest.Builder replicatorArn(String 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
UpdateReplicationInfoRequest.Builder sourceKafkaClusterArn(String 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
UpdateReplicationInfoRequest.Builder targetKafkaClusterArn(String 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
UpdateReplicationInfoRequest.Builder topicReplication(TopicReplicationUpdate 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:
topicReplication(TopicReplicationUpdate)
-
overrideConfiguration
UpdateReplicationInfoRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateReplicationInfoRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-