#[non_exhaustive]pub struct TopicReplicationUpdateBuilder { /* private fields */ }
Expand description
A builder for TopicReplicationUpdate
.
Implementations§
source§impl TopicReplicationUpdateBuilder
impl TopicReplicationUpdateBuilder
sourcepub fn copy_access_control_lists_for_topics(self, input: bool) -> Self
pub fn copy_access_control_lists_for_topics(self, input: bool) -> Self
Whether to periodically configure remote topic ACLs to match their corresponding upstream topics.
This field is required.sourcepub fn set_copy_access_control_lists_for_topics(
self,
input: Option<bool>
) -> Self
pub fn set_copy_access_control_lists_for_topics( self, input: Option<bool> ) -> Self
Whether to periodically configure remote topic ACLs to match their corresponding upstream topics.
sourcepub fn get_copy_access_control_lists_for_topics(&self) -> &Option<bool>
pub fn get_copy_access_control_lists_for_topics(&self) -> &Option<bool>
Whether to periodically configure remote topic ACLs to match their corresponding upstream topics.
sourcepub fn copy_topic_configurations(self, input: bool) -> Self
pub fn copy_topic_configurations(self, input: bool) -> Self
Whether to periodically configure remote topics to match their corresponding upstream topics.
This field is required.sourcepub fn set_copy_topic_configurations(self, input: Option<bool>) -> Self
pub fn set_copy_topic_configurations(self, input: Option<bool>) -> Self
Whether to periodically configure remote topics to match their corresponding upstream topics.
sourcepub fn get_copy_topic_configurations(&self) -> &Option<bool>
pub fn get_copy_topic_configurations(&self) -> &Option<bool>
Whether to periodically configure remote topics to match their corresponding upstream topics.
sourcepub fn detect_and_copy_new_topics(self, input: bool) -> Self
pub fn detect_and_copy_new_topics(self, input: bool) -> Self
Whether to periodically check for new topics and partitions.
This field is required.sourcepub fn set_detect_and_copy_new_topics(self, input: Option<bool>) -> Self
pub fn set_detect_and_copy_new_topics(self, input: Option<bool>) -> Self
Whether to periodically check for new topics and partitions.
sourcepub fn get_detect_and_copy_new_topics(&self) -> &Option<bool>
pub fn get_detect_and_copy_new_topics(&self) -> &Option<bool>
Whether to periodically check for new topics and partitions.
sourcepub fn topics_to_exclude(self, input: impl Into<String>) -> Self
pub fn topics_to_exclude(self, input: impl Into<String>) -> Self
Appends an item to topics_to_exclude
.
To override the contents of this collection use set_topics_to_exclude
.
List of regular expression patterns indicating the topics that should not be replicated.
sourcepub fn set_topics_to_exclude(self, input: Option<Vec<String>>) -> Self
pub fn set_topics_to_exclude(self, input: Option<Vec<String>>) -> Self
List of regular expression patterns indicating the topics that should not be replicated.
sourcepub fn get_topics_to_exclude(&self) -> &Option<Vec<String>>
pub fn get_topics_to_exclude(&self) -> &Option<Vec<String>>
List of regular expression patterns indicating the topics that should not be replicated.
sourcepub fn topics_to_replicate(self, input: impl Into<String>) -> Self
pub fn topics_to_replicate(self, input: impl Into<String>) -> Self
Appends an item to topics_to_replicate
.
To override the contents of this collection use set_topics_to_replicate
.
List of regular expression patterns indicating the topics to copy.
sourcepub fn set_topics_to_replicate(self, input: Option<Vec<String>>) -> Self
pub fn set_topics_to_replicate(self, input: Option<Vec<String>>) -> Self
List of regular expression patterns indicating the topics to copy.
sourcepub fn get_topics_to_replicate(&self) -> &Option<Vec<String>>
pub fn get_topics_to_replicate(&self) -> &Option<Vec<String>>
List of regular expression patterns indicating the topics to copy.
sourcepub fn build(self) -> TopicReplicationUpdate
pub fn build(self) -> TopicReplicationUpdate
Consumes the builder and constructs a TopicReplicationUpdate
.
Trait Implementations§
source§impl Clone for TopicReplicationUpdateBuilder
impl Clone for TopicReplicationUpdateBuilder
source§fn clone(&self) -> TopicReplicationUpdateBuilder
fn clone(&self) -> TopicReplicationUpdateBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for TopicReplicationUpdateBuilder
impl Default for TopicReplicationUpdateBuilder
source§fn default() -> TopicReplicationUpdateBuilder
fn default() -> TopicReplicationUpdateBuilder
source§impl PartialEq for TopicReplicationUpdateBuilder
impl PartialEq for TopicReplicationUpdateBuilder
source§fn eq(&self, other: &TopicReplicationUpdateBuilder) -> bool
fn eq(&self, other: &TopicReplicationUpdateBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.