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 starting_position: Option<ReplicationStartingPosition>,
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.
starting_position: Option<ReplicationStartingPosition>
Configuration for specifying the position in the topics to start replicating from.
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 starting_position(&self) -> Option<&ReplicationStartingPosition>
pub fn starting_position(&self) -> Option<&ReplicationStartingPosition>
Configuration for specifying the position in the topics to start replicating from.
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 ==
.impl StructuralPartialEq for TopicReplication
Auto Trait Implementations§
impl Freeze for TopicReplication
impl RefUnwindSafe for TopicReplication
impl Send for TopicReplication
impl Sync for TopicReplication
impl Unpin for TopicReplication
impl UnwindSafe for TopicReplication
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