Interface ReplicationInfoDescription.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ReplicationInfoDescription.Builder,,ReplicationInfoDescription> SdkBuilder<ReplicationInfoDescription.Builder,,ReplicationInfoDescription> SdkPojo
- Enclosing class:
ReplicationInfoDescription
public static interface ReplicationInfoDescription.Builder
extends SdkPojo, CopyableBuilder<ReplicationInfoDescription.Builder,ReplicationInfoDescription>
-
Method Summary
Modifier and TypeMethodDescriptionconsumerGroupReplication(Consumer<ConsumerGroupReplication.Builder> consumerGroupReplication) Configuration relating to consumer group replication.consumerGroupReplication(ConsumerGroupReplication consumerGroupReplication) Configuration relating to consumer group replication.sourceKafkaClusterAlias(String sourceKafkaClusterAlias) The alias of the source Kafka cluster.targetCompressionType(String targetCompressionType) The compression type to use when producing records to target cluster.targetCompressionType(TargetCompressionType targetCompressionType) The compression type to use when producing records to target cluster.targetKafkaClusterAlias(String targetKafkaClusterAlias) The alias of the target Kafka cluster.topicReplication(Consumer<TopicReplication.Builder> topicReplication) Configuration relating to topic replication.topicReplication(TopicReplication topicReplication) Configuration relating to topic replication.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
consumerGroupReplication
ReplicationInfoDescription.Builder consumerGroupReplication(ConsumerGroupReplication consumerGroupReplication) Configuration relating to consumer group replication.
- Parameters:
consumerGroupReplication- Configuration relating to consumer group replication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
consumerGroupReplication
default ReplicationInfoDescription.Builder consumerGroupReplication(Consumer<ConsumerGroupReplication.Builder> consumerGroupReplication) Configuration relating to consumer group replication.
This is a convenience method that creates an instance of theConsumerGroupReplication.Builderavoiding the need to create one manually viaConsumerGroupReplication.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconsumerGroupReplication(ConsumerGroupReplication).- Parameters:
consumerGroupReplication- a consumer that will call methods onConsumerGroupReplication.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceKafkaClusterAlias
The alias of the source Kafka cluster.
- Parameters:
sourceKafkaClusterAlias- The alias of the source Kafka cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetCompressionType
The compression type to use when producing records to target cluster.
- Parameters:
targetCompressionType- The compression type to use when producing records to target cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetCompressionType
ReplicationInfoDescription.Builder targetCompressionType(TargetCompressionType targetCompressionType) The compression type to use when producing records to target cluster.
- Parameters:
targetCompressionType- The compression type to use when producing records to target cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetKafkaClusterAlias
The alias of the target Kafka cluster.
- Parameters:
targetKafkaClusterAlias- The alias of the target Kafka cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topicReplication
Configuration relating to topic replication.
- Parameters:
topicReplication- Configuration relating to topic replication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topicReplication
default ReplicationInfoDescription.Builder topicReplication(Consumer<TopicReplication.Builder> topicReplication) Configuration relating to topic replication.
This is a convenience method that creates an instance of theTopicReplication.Builderavoiding the need to create one manually viaTopicReplication.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totopicReplication(TopicReplication).- Parameters:
topicReplication- a consumer that will call methods onTopicReplication.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-