Struct aws_sdk_kafka::types::TopicReplicationUpdate
source · #[non_exhaustive]pub struct TopicReplicationUpdate {
pub copy_access_control_lists_for_topics: Option<bool>,
pub copy_topic_configurations: Option<bool>,
pub detect_and_copy_new_topics: Option<bool>,
pub topics_to_exclude: Option<Vec<String>>,
pub topics_to_replicate: Option<Vec<String>>,
}
Expand description
Details for updating the topic replication of a replicator.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.copy_access_control_lists_for_topics: Option<bool>
Whether to periodically configure remote topic ACLs to match their corresponding upstream topics.
copy_topic_configurations: Option<bool>
Whether to periodically configure remote topics to match their corresponding upstream topics.
detect_and_copy_new_topics: Option<bool>
Whether to periodically check for new topics and partitions.
topics_to_exclude: Option<Vec<String>>
List of regular expression patterns indicating the topics that should not be replicated.
topics_to_replicate: Option<Vec<String>>
List of regular expression patterns indicating the topics to copy.
Implementations§
source§impl TopicReplicationUpdate
impl TopicReplicationUpdate
sourcepub fn copy_access_control_lists_for_topics(&self) -> Option<bool>
pub fn 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) -> Option<bool>
pub fn 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) -> Option<bool>
pub fn detect_and_copy_new_topics(&self) -> Option<bool>
Whether to periodically check for new topics and partitions.
sourcepub fn topics_to_exclude(&self) -> &[String]
pub fn topics_to_exclude(&self) -> &[String]
List of regular expression patterns indicating the topics that should not be replicated.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .topics_to_exclude.is_none()
.
sourcepub fn topics_to_replicate(&self) -> &[String]
pub fn topics_to_replicate(&self) -> &[String]
List of regular expression patterns indicating the topics to copy.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .topics_to_replicate.is_none()
.
source§impl TopicReplicationUpdate
impl TopicReplicationUpdate
sourcepub fn builder() -> TopicReplicationUpdateBuilder
pub fn builder() -> TopicReplicationUpdateBuilder
Creates a new builder-style object to manufacture TopicReplicationUpdate
.
Trait Implementations§
source§impl Clone for TopicReplicationUpdate
impl Clone for TopicReplicationUpdate
source§fn clone(&self) -> TopicReplicationUpdate
fn clone(&self) -> TopicReplicationUpdate
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TopicReplicationUpdate
impl Debug for TopicReplicationUpdate
source§impl PartialEq for TopicReplicationUpdate
impl PartialEq for TopicReplicationUpdate
source§fn eq(&self, other: &TopicReplicationUpdate) -> bool
fn eq(&self, other: &TopicReplicationUpdate) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TopicReplicationUpdate
Auto Trait Implementations§
impl Freeze for TopicReplicationUpdate
impl RefUnwindSafe for TopicReplicationUpdate
impl Send for TopicReplicationUpdate
impl Sync for TopicReplicationUpdate
impl Unpin for TopicReplicationUpdate
impl UnwindSafe for TopicReplicationUpdate
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