#[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 ==
.impl StructuralPartialEq for TopicReplicationUpdateBuilder
Auto Trait Implementations§
impl Freeze for TopicReplicationUpdateBuilder
impl RefUnwindSafe for TopicReplicationUpdateBuilder
impl Send for TopicReplicationUpdateBuilder
impl Sync for TopicReplicationUpdateBuilder
impl Unpin for TopicReplicationUpdateBuilder
impl UnwindSafe for TopicReplicationUpdateBuilder
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