Interface ReplicationInfo.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ReplicationInfo.Builder,,ReplicationInfo> SdkBuilder<ReplicationInfo.Builder,,ReplicationInfo> SdkPojo
- Enclosing class:
ReplicationInfo
-
Method Summary
Modifier and TypeMethodDescriptiondefault ReplicationInfo.BuilderconsumerGroupReplication(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.sourceKafkaClusterId(String sourceKafkaClusterId) The ID 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.targetKafkaClusterId(String targetKafkaClusterId) The ID of the target Kafka cluster.default ReplicationInfo.BuildertopicReplication(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, sdkFieldNameToField, 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.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:
-
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.
-
sourceKafkaClusterId
The ID of the source Kafka cluster.
- Parameters:
sourceKafkaClusterId- The ID 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.
-
targetKafkaClusterId
The ID of the target Kafka cluster.
- Parameters:
targetKafkaClusterId- The ID 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.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:
-