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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.kafka.model.KafkaRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaConsumerGroupReplicationUpdate.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaTopicReplicationUpdate.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-