Struct aws_sdk_kafka::types::ReplicationInfo
source · #[non_exhaustive]pub struct ReplicationInfo {
pub consumer_group_replication: Option<ConsumerGroupReplication>,
pub source_kafka_cluster_arn: Option<String>,
pub target_compression_type: Option<TargetCompressionType>,
pub target_kafka_cluster_arn: Option<String>,
pub topic_replication: Option<TopicReplication>,
}
Expand description
Specifies configuration for replication between a source and target Kafka cluster.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.consumer_group_replication: Option<ConsumerGroupReplication>
Configuration relating to consumer group replication.
source_kafka_cluster_arn: Option<String>
The ARN of the source Kafka cluster.
target_compression_type: Option<TargetCompressionType>
The compression type to use when producing records to target cluster.
target_kafka_cluster_arn: Option<String>
The ARN of the target Kafka cluster.
topic_replication: Option<TopicReplication>
Configuration relating to topic replication.
Implementations§
source§impl ReplicationInfo
impl ReplicationInfo
sourcepub fn consumer_group_replication(&self) -> Option<&ConsumerGroupReplication>
pub fn consumer_group_replication(&self) -> Option<&ConsumerGroupReplication>
Configuration relating to consumer group replication.
sourcepub fn source_kafka_cluster_arn(&self) -> Option<&str>
pub fn source_kafka_cluster_arn(&self) -> Option<&str>
The ARN of the source Kafka cluster.
sourcepub fn target_compression_type(&self) -> Option<&TargetCompressionType>
pub fn target_compression_type(&self) -> Option<&TargetCompressionType>
The compression type to use when producing records to target cluster.
sourcepub fn target_kafka_cluster_arn(&self) -> Option<&str>
pub fn target_kafka_cluster_arn(&self) -> Option<&str>
The ARN of the target Kafka cluster.
sourcepub fn topic_replication(&self) -> Option<&TopicReplication>
pub fn topic_replication(&self) -> Option<&TopicReplication>
Configuration relating to topic replication.
source§impl ReplicationInfo
impl ReplicationInfo
sourcepub fn builder() -> ReplicationInfoBuilder
pub fn builder() -> ReplicationInfoBuilder
Creates a new builder-style object to manufacture ReplicationInfo
.
Trait Implementations§
source§impl Clone for ReplicationInfo
impl Clone for ReplicationInfo
source§fn clone(&self) -> ReplicationInfo
fn clone(&self) -> ReplicationInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ReplicationInfo
impl Debug for ReplicationInfo
source§impl PartialEq for ReplicationInfo
impl PartialEq for ReplicationInfo
source§fn eq(&self, other: &ReplicationInfo) -> bool
fn eq(&self, other: &ReplicationInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ReplicationInfo
Auto Trait Implementations§
impl Freeze for ReplicationInfo
impl RefUnwindSafe for ReplicationInfo
impl Send for ReplicationInfo
impl Sync for ReplicationInfo
impl Unpin for ReplicationInfo
impl UnwindSafe for ReplicationInfo
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.