Struct aws_sdk_kafka::types::ReplicationInfoDescription
source · #[non_exhaustive]pub struct ReplicationInfoDescription {
pub consumer_group_replication: Option<ConsumerGroupReplication>,
pub source_kafka_cluster_alias: Option<String>,
pub target_compression_type: Option<TargetCompressionType>,
pub target_kafka_cluster_alias: Option<String>,
pub topic_replication: Option<TopicReplication>,
}
Expand description
Specifies configuration for replication between a source and target Kafka cluster (sourceKafkaClusterAlias -> targetKafkaClusterAlias)
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_alias: Option<String>
The alias of the source Kafka cluster.
target_compression_type: Option<TargetCompressionType>
The compression type to use when producing records to target cluster.
target_kafka_cluster_alias: Option<String>
The alias of the target Kafka cluster.
topic_replication: Option<TopicReplication>
Configuration relating to topic replication.
Implementations§
source§impl ReplicationInfoDescription
impl ReplicationInfoDescription
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_alias(&self) -> Option<&str>
pub fn source_kafka_cluster_alias(&self) -> Option<&str>
The alias 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_alias(&self) -> Option<&str>
pub fn target_kafka_cluster_alias(&self) -> Option<&str>
The alias 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 ReplicationInfoDescription
impl ReplicationInfoDescription
sourcepub fn builder() -> ReplicationInfoDescriptionBuilder
pub fn builder() -> ReplicationInfoDescriptionBuilder
Creates a new builder-style object to manufacture ReplicationInfoDescription
.
Trait Implementations§
source§impl Clone for ReplicationInfoDescription
impl Clone for ReplicationInfoDescription
source§fn clone(&self) -> ReplicationInfoDescription
fn clone(&self) -> ReplicationInfoDescription
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 ReplicationInfoDescription
impl Debug for ReplicationInfoDescription
source§impl PartialEq for ReplicationInfoDescription
impl PartialEq for ReplicationInfoDescription
source§fn eq(&self, other: &ReplicationInfoDescription) -> bool
fn eq(&self, other: &ReplicationInfoDescription) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ReplicationInfoDescription
Auto Trait Implementations§
impl RefUnwindSafe for ReplicationInfoDescription
impl Send for ReplicationInfoDescription
impl Sync for ReplicationInfoDescription
impl Unpin for ReplicationInfoDescription
impl UnwindSafe for ReplicationInfoDescription
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>
Creates a shared type from an unshared type.