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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ReplicationInfo.Builder
consumerGroupReplication(Consumer<ConsumerGroupReplication.Builder> consumerGroupReplication)
Configuration relating to consumer group replication.ReplicationInfo.Builder
consumerGroupReplication(ConsumerGroupReplication consumerGroupReplication)
Configuration relating to consumer group replication.ReplicationInfo.Builder
sourceKafkaClusterArn(String sourceKafkaClusterArn)
The ARN of the source Kafka cluster.ReplicationInfo.Builder
targetCompressionType(String targetCompressionType)
The compression type to use when producing records to target cluster.ReplicationInfo.Builder
targetCompressionType(TargetCompressionType targetCompressionType)
The compression type to use when producing records to target cluster.ReplicationInfo.Builder
targetKafkaClusterArn(String targetKafkaClusterArn)
The ARN of the target Kafka cluster.default ReplicationInfo.Builder
topicReplication(Consumer<TopicReplication.Builder> topicReplication)
Configuration relating to topic replication.ReplicationInfo.Builder
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 Detail
-
consumerGroupReplication
ReplicationInfo.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 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:
consumerGroupReplication(ConsumerGroupReplication)
-
sourceKafkaClusterArn
ReplicationInfo.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.
-
targetCompressionType
ReplicationInfo.Builder targetCompressionType(String 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
,TargetCompressionType
-
targetCompressionType
ReplicationInfo.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:
TargetCompressionType
,TargetCompressionType
-
targetKafkaClusterArn
ReplicationInfo.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
ReplicationInfo.Builder topicReplication(TopicReplication 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:
topicReplication(TopicReplication)
-
-