#[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 ==
.