Interface ReplicationInfo.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ReplicationInfo.Builder,
,ReplicationInfo> SdkBuilder<ReplicationInfo.Builder,
,ReplicationInfo> SdkPojo
- Enclosing class:
ReplicationInfo
public static interface ReplicationInfo.Builder
extends SdkPojo, CopyableBuilder<ReplicationInfo.Builder,ReplicationInfo>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ReplicationInfo.Builder
consumerGroupReplication
(Consumer<ConsumerGroupReplication.Builder> consumerGroupReplication) Configuration relating to consumer group replication.consumerGroupReplication
(ConsumerGroupReplication consumerGroupReplication) Configuration relating to consumer group replication.sourceKafkaClusterArn
(String sourceKafkaClusterArn) The ARN 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.targetKafkaClusterArn
(String targetKafkaClusterArn) The ARN of the target Kafka cluster.default ReplicationInfo.Builder
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
copy
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
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 ReplicationInfo.Builder consumerGroupReplication(Consumer<ConsumerGroupReplication.Builder> consumerGroupReplication) Configuration relating to consumer group replication.
This is a convenience method that creates an instance of theConsumerGroupReplication.Builder
avoiding the need to create one manually viaConsumerGroupReplication.builder()
.When the
Consumer
completes,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:
-
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.
-
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
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:
-
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
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 ReplicationInfo.Builder topicReplication(Consumer<TopicReplication.Builder> topicReplication) Configuration relating to topic replication.
This is a convenience method that creates an instance of theTopicReplication.Builder
avoiding the need to create one manually viaTopicReplication.builder()
.When the
Consumer
completes,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:
-