Struct aws_sdk_kafka::types::TopicReplication
source · #[non_exhaustive]pub struct TopicReplication {
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 about topic replication.
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 TopicReplication
impl TopicReplication
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 TopicReplication
impl TopicReplication
sourcepub fn builder() -> TopicReplicationBuilder
pub fn builder() -> TopicReplicationBuilder
Creates a new builder-style object to manufacture TopicReplication
.
Trait Implementations§
source§impl Clone for TopicReplication
impl Clone for TopicReplication
source§fn clone(&self) -> TopicReplication
fn clone(&self) -> TopicReplication
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TopicReplication
impl Debug for TopicReplication
source§impl PartialEq for TopicReplication
impl PartialEq for TopicReplication
source§fn eq(&self, other: &TopicReplication) -> bool
fn eq(&self, other: &TopicReplication) -> bool
self
and other
values to be equal, and is used
by ==
.