#[non_exhaustive]pub struct ReplicationInfoDescriptionBuilder { /* private fields */ }
Expand description
A builder for ReplicationInfoDescription
.
Implementations§
source§impl ReplicationInfoDescriptionBuilder
impl ReplicationInfoDescriptionBuilder
sourcepub fn consumer_group_replication(self, input: ConsumerGroupReplication) -> Self
pub fn consumer_group_replication(self, input: ConsumerGroupReplication) -> Self
Configuration relating to consumer group replication.
sourcepub fn set_consumer_group_replication(
self,
input: Option<ConsumerGroupReplication>
) -> Self
pub fn set_consumer_group_replication( self, input: Option<ConsumerGroupReplication> ) -> Self
Configuration relating to consumer group replication.
sourcepub fn get_consumer_group_replication(
&self
) -> &Option<ConsumerGroupReplication>
pub fn get_consumer_group_replication( &self ) -> &Option<ConsumerGroupReplication>
Configuration relating to consumer group replication.
sourcepub fn source_kafka_cluster_alias(self, input: impl Into<String>) -> Self
pub fn source_kafka_cluster_alias(self, input: impl Into<String>) -> Self
The alias of the source Kafka cluster.
sourcepub fn set_source_kafka_cluster_alias(self, input: Option<String>) -> Self
pub fn set_source_kafka_cluster_alias(self, input: Option<String>) -> Self
The alias of the source Kafka cluster.
sourcepub fn get_source_kafka_cluster_alias(&self) -> &Option<String>
pub fn get_source_kafka_cluster_alias(&self) -> &Option<String>
The alias of the source Kafka cluster.
sourcepub fn target_compression_type(self, input: TargetCompressionType) -> Self
pub fn target_compression_type(self, input: TargetCompressionType) -> Self
The compression type to use when producing records to target cluster.
sourcepub fn set_target_compression_type(
self,
input: Option<TargetCompressionType>
) -> Self
pub fn set_target_compression_type( self, input: Option<TargetCompressionType> ) -> Self
The compression type to use when producing records to target cluster.
sourcepub fn get_target_compression_type(&self) -> &Option<TargetCompressionType>
pub fn get_target_compression_type(&self) -> &Option<TargetCompressionType>
The compression type to use when producing records to target cluster.
sourcepub fn target_kafka_cluster_alias(self, input: impl Into<String>) -> Self
pub fn target_kafka_cluster_alias(self, input: impl Into<String>) -> Self
The alias of the target Kafka cluster.
sourcepub fn set_target_kafka_cluster_alias(self, input: Option<String>) -> Self
pub fn set_target_kafka_cluster_alias(self, input: Option<String>) -> Self
The alias of the target Kafka cluster.
sourcepub fn get_target_kafka_cluster_alias(&self) -> &Option<String>
pub fn get_target_kafka_cluster_alias(&self) -> &Option<String>
The alias of the target Kafka cluster.
sourcepub fn topic_replication(self, input: TopicReplication) -> Self
pub fn topic_replication(self, input: TopicReplication) -> Self
Configuration relating to topic replication.
sourcepub fn set_topic_replication(self, input: Option<TopicReplication>) -> Self
pub fn set_topic_replication(self, input: Option<TopicReplication>) -> Self
Configuration relating to topic replication.
sourcepub fn get_topic_replication(&self) -> &Option<TopicReplication>
pub fn get_topic_replication(&self) -> &Option<TopicReplication>
Configuration relating to topic replication.
sourcepub fn build(self) -> ReplicationInfoDescription
pub fn build(self) -> ReplicationInfoDescription
Consumes the builder and constructs a ReplicationInfoDescription
.
Trait Implementations§
source§impl Clone for ReplicationInfoDescriptionBuilder
impl Clone for ReplicationInfoDescriptionBuilder
source§fn clone(&self) -> ReplicationInfoDescriptionBuilder
fn clone(&self) -> ReplicationInfoDescriptionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ReplicationInfoDescriptionBuilder
impl Default for ReplicationInfoDescriptionBuilder
source§fn default() -> ReplicationInfoDescriptionBuilder
fn default() -> ReplicationInfoDescriptionBuilder
source§impl PartialEq for ReplicationInfoDescriptionBuilder
impl PartialEq for ReplicationInfoDescriptionBuilder
source§fn eq(&self, other: &ReplicationInfoDescriptionBuilder) -> bool
fn eq(&self, other: &ReplicationInfoDescriptionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.