Struct aws_sdk_kafka::types::builders::TopicReplicationBuilder
source · #[non_exhaustive]pub struct TopicReplicationBuilder { /* private fields */ }
Expand description
A builder for TopicReplication
.
Implementations§
source§impl TopicReplicationBuilder
impl TopicReplicationBuilder
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.
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.
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.
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 starting_position(self, input: ReplicationStartingPosition) -> Self
pub fn starting_position(self, input: ReplicationStartingPosition) -> Self
Configuration for specifying the position in the topics to start replicating from.
sourcepub fn set_starting_position(
self,
input: Option<ReplicationStartingPosition>,
) -> Self
pub fn set_starting_position( self, input: Option<ReplicationStartingPosition>, ) -> Self
Configuration for specifying the position in the topics to start replicating from.
sourcepub fn get_starting_position(&self) -> &Option<ReplicationStartingPosition>
pub fn get_starting_position(&self) -> &Option<ReplicationStartingPosition>
Configuration for specifying the position in the topics to start replicating from.
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) -> TopicReplication
pub fn build(self) -> TopicReplication
Consumes the builder and constructs a TopicReplication
.
Trait Implementations§
source§impl Clone for TopicReplicationBuilder
impl Clone for TopicReplicationBuilder
source§fn clone(&self) -> TopicReplicationBuilder
fn clone(&self) -> TopicReplicationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TopicReplicationBuilder
impl Debug for TopicReplicationBuilder
source§impl Default for TopicReplicationBuilder
impl Default for TopicReplicationBuilder
source§fn default() -> TopicReplicationBuilder
fn default() -> TopicReplicationBuilder
source§impl PartialEq for TopicReplicationBuilder
impl PartialEq for TopicReplicationBuilder
source§fn eq(&self, other: &TopicReplicationBuilder) -> bool
fn eq(&self, other: &TopicReplicationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TopicReplicationBuilder
Auto Trait Implementations§
impl Freeze for TopicReplicationBuilder
impl RefUnwindSafe for TopicReplicationBuilder
impl Send for TopicReplicationBuilder
impl Sync for TopicReplicationBuilder
impl Unpin for TopicReplicationBuilder
impl UnwindSafe for TopicReplicationBuilder
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