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