#[non_exhaustive]pub struct ConsumerGroupReplicationBuilder { /* private fields */ }
Expand description
A builder for ConsumerGroupReplication
.
Implementations§
source§impl ConsumerGroupReplicationBuilder
impl ConsumerGroupReplicationBuilder
sourcepub fn consumer_groups_to_exclude(self, input: impl Into<String>) -> Self
pub fn consumer_groups_to_exclude(self, input: impl Into<String>) -> Self
Appends an item to consumer_groups_to_exclude
.
To override the contents of this collection use set_consumer_groups_to_exclude
.
List of regular expression patterns indicating the consumer groups that should not be replicated.
sourcepub fn set_consumer_groups_to_exclude(self, input: Option<Vec<String>>) -> Self
pub fn set_consumer_groups_to_exclude(self, input: Option<Vec<String>>) -> Self
List of regular expression patterns indicating the consumer groups that should not be replicated.
sourcepub fn get_consumer_groups_to_exclude(&self) -> &Option<Vec<String>>
pub fn get_consumer_groups_to_exclude(&self) -> &Option<Vec<String>>
List of regular expression patterns indicating the consumer groups that should not be replicated.
sourcepub fn consumer_groups_to_replicate(self, input: impl Into<String>) -> Self
pub fn consumer_groups_to_replicate(self, input: impl Into<String>) -> Self
Appends an item to consumer_groups_to_replicate
.
To override the contents of this collection use set_consumer_groups_to_replicate
.
List of regular expression patterns indicating the consumer groups to copy.
sourcepub fn set_consumer_groups_to_replicate(
self,
input: Option<Vec<String>>,
) -> Self
pub fn set_consumer_groups_to_replicate( self, input: Option<Vec<String>>, ) -> Self
List of regular expression patterns indicating the consumer groups to copy.
sourcepub fn get_consumer_groups_to_replicate(&self) -> &Option<Vec<String>>
pub fn get_consumer_groups_to_replicate(&self) -> &Option<Vec<String>>
List of regular expression patterns indicating the consumer groups to copy.
sourcepub fn detect_and_copy_new_consumer_groups(self, input: bool) -> Self
pub fn detect_and_copy_new_consumer_groups(self, input: bool) -> Self
Enables synchronization of consumer groups to target cluster.
sourcepub fn set_detect_and_copy_new_consumer_groups(
self,
input: Option<bool>,
) -> Self
pub fn set_detect_and_copy_new_consumer_groups( self, input: Option<bool>, ) -> Self
Enables synchronization of consumer groups to target cluster.
sourcepub fn get_detect_and_copy_new_consumer_groups(&self) -> &Option<bool>
pub fn get_detect_and_copy_new_consumer_groups(&self) -> &Option<bool>
Enables synchronization of consumer groups to target cluster.
sourcepub fn synchronise_consumer_group_offsets(self, input: bool) -> Self
pub fn synchronise_consumer_group_offsets(self, input: bool) -> Self
Enables synchronization of consumer group offsets to target cluster. The translated offsets will be written to topic __consumer_offsets.
sourcepub fn set_synchronise_consumer_group_offsets(self, input: Option<bool>) -> Self
pub fn set_synchronise_consumer_group_offsets(self, input: Option<bool>) -> Self
Enables synchronization of consumer group offsets to target cluster. The translated offsets will be written to topic __consumer_offsets.
sourcepub fn get_synchronise_consumer_group_offsets(&self) -> &Option<bool>
pub fn get_synchronise_consumer_group_offsets(&self) -> &Option<bool>
Enables synchronization of consumer group offsets to target cluster. The translated offsets will be written to topic __consumer_offsets.
sourcepub fn build(self) -> ConsumerGroupReplication
pub fn build(self) -> ConsumerGroupReplication
Consumes the builder and constructs a ConsumerGroupReplication
.
Trait Implementations§
source§impl Clone for ConsumerGroupReplicationBuilder
impl Clone for ConsumerGroupReplicationBuilder
source§fn clone(&self) -> ConsumerGroupReplicationBuilder
fn clone(&self) -> ConsumerGroupReplicationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ConsumerGroupReplicationBuilder
impl Default for ConsumerGroupReplicationBuilder
source§fn default() -> ConsumerGroupReplicationBuilder
fn default() -> ConsumerGroupReplicationBuilder
source§impl PartialEq for ConsumerGroupReplicationBuilder
impl PartialEq for ConsumerGroupReplicationBuilder
source§fn eq(&self, other: &ConsumerGroupReplicationBuilder) -> bool
fn eq(&self, other: &ConsumerGroupReplicationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ConsumerGroupReplicationBuilder
Auto Trait Implementations§
impl Freeze for ConsumerGroupReplicationBuilder
impl RefUnwindSafe for ConsumerGroupReplicationBuilder
impl Send for ConsumerGroupReplicationBuilder
impl Sync for ConsumerGroupReplicationBuilder
impl Unpin for ConsumerGroupReplicationBuilder
impl UnwindSafe for ConsumerGroupReplicationBuilder
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