#[non_exhaustive]pub struct ConsumerGroupReplicationUpdateBuilder { /* private fields */ }
Expand description
A builder for ConsumerGroupReplicationUpdate
.
Implementations§
source§impl ConsumerGroupReplicationUpdateBuilder
impl ConsumerGroupReplicationUpdateBuilder
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.
This field is required.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.
This field is required.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) -> ConsumerGroupReplicationUpdate
pub fn build(self) -> ConsumerGroupReplicationUpdate
Consumes the builder and constructs a ConsumerGroupReplicationUpdate
.
Trait Implementations§
source§impl Clone for ConsumerGroupReplicationUpdateBuilder
impl Clone for ConsumerGroupReplicationUpdateBuilder
source§fn clone(&self) -> ConsumerGroupReplicationUpdateBuilder
fn clone(&self) -> ConsumerGroupReplicationUpdateBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ConsumerGroupReplicationUpdateBuilder
impl Default for ConsumerGroupReplicationUpdateBuilder
source§fn default() -> ConsumerGroupReplicationUpdateBuilder
fn default() -> ConsumerGroupReplicationUpdateBuilder
source§impl PartialEq for ConsumerGroupReplicationUpdateBuilder
impl PartialEq for ConsumerGroupReplicationUpdateBuilder
source§fn eq(&self, other: &ConsumerGroupReplicationUpdateBuilder) -> bool
fn eq(&self, other: &ConsumerGroupReplicationUpdateBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ConsumerGroupReplicationUpdateBuilder
Auto Trait Implementations§
impl Freeze for ConsumerGroupReplicationUpdateBuilder
impl RefUnwindSafe for ConsumerGroupReplicationUpdateBuilder
impl Send for ConsumerGroupReplicationUpdateBuilder
impl Sync for ConsumerGroupReplicationUpdateBuilder
impl Unpin for ConsumerGroupReplicationUpdateBuilder
impl UnwindSafe for ConsumerGroupReplicationUpdateBuilder
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