#[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 ==
.impl StructuralPartialEq for ReplicationInfoDescriptionBuilder
Auto Trait Implementations§
impl Freeze for ReplicationInfoDescriptionBuilder
impl RefUnwindSafe for ReplicationInfoDescriptionBuilder
impl Send for ReplicationInfoDescriptionBuilder
impl Sync for ReplicationInfoDescriptionBuilder
impl Unpin for ReplicationInfoDescriptionBuilder
impl UnwindSafe for ReplicationInfoDescriptionBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more