Struct aws_sdk_kafka::types::builders::ReplicationInfoBuilder
source · #[non_exhaustive]pub struct ReplicationInfoBuilder { /* private fields */ }
Expand description
A builder for ReplicationInfo
.
Implementations§
source§impl ReplicationInfoBuilder
impl ReplicationInfoBuilder
sourcepub fn consumer_group_replication(self, input: ConsumerGroupReplication) -> Self
pub fn consumer_group_replication(self, input: ConsumerGroupReplication) -> Self
Configuration relating to consumer group replication.
This field is required.sourcepub fn set_consumer_group_replication(
self,
input: Option<ConsumerGroupReplication>
) -> Self
pub fn set_consumer_group_replication( self, input: Option<ConsumerGroupReplication> ) -> Self
Configuration relating to consumer group replication.
sourcepub fn get_consumer_group_replication(
&self
) -> &Option<ConsumerGroupReplication>
pub fn get_consumer_group_replication( &self ) -> &Option<ConsumerGroupReplication>
Configuration relating to consumer group replication.
sourcepub fn source_kafka_cluster_arn(self, input: impl Into<String>) -> Self
pub fn source_kafka_cluster_arn(self, input: impl Into<String>) -> Self
The ARN of the source Kafka cluster.
This field is required.sourcepub fn set_source_kafka_cluster_arn(self, input: Option<String>) -> Self
pub fn set_source_kafka_cluster_arn(self, input: Option<String>) -> Self
The ARN of the source Kafka cluster.
sourcepub fn get_source_kafka_cluster_arn(&self) -> &Option<String>
pub fn get_source_kafka_cluster_arn(&self) -> &Option<String>
The ARN of the source Kafka cluster.
sourcepub fn target_compression_type(self, input: TargetCompressionType) -> Self
pub fn target_compression_type(self, input: TargetCompressionType) -> Self
The compression type to use when producing records to target cluster.
This field is required.sourcepub fn set_target_compression_type(
self,
input: Option<TargetCompressionType>
) -> Self
pub fn set_target_compression_type( self, input: Option<TargetCompressionType> ) -> Self
The compression type to use when producing records to target cluster.
sourcepub fn get_target_compression_type(&self) -> &Option<TargetCompressionType>
pub fn get_target_compression_type(&self) -> &Option<TargetCompressionType>
The compression type to use when producing records to target cluster.
sourcepub fn target_kafka_cluster_arn(self, input: impl Into<String>) -> Self
pub fn target_kafka_cluster_arn(self, input: impl Into<String>) -> Self
The ARN of the target Kafka cluster.
This field is required.sourcepub fn set_target_kafka_cluster_arn(self, input: Option<String>) -> Self
pub fn set_target_kafka_cluster_arn(self, input: Option<String>) -> Self
The ARN of the target Kafka cluster.
sourcepub fn get_target_kafka_cluster_arn(&self) -> &Option<String>
pub fn get_target_kafka_cluster_arn(&self) -> &Option<String>
The ARN of the target Kafka cluster.
sourcepub fn topic_replication(self, input: TopicReplication) -> Self
pub fn topic_replication(self, input: TopicReplication) -> Self
Configuration relating to topic replication.
This field is required.sourcepub fn set_topic_replication(self, input: Option<TopicReplication>) -> Self
pub fn set_topic_replication(self, input: Option<TopicReplication>) -> Self
Configuration relating to topic replication.
sourcepub fn get_topic_replication(&self) -> &Option<TopicReplication>
pub fn get_topic_replication(&self) -> &Option<TopicReplication>
Configuration relating to topic replication.
sourcepub fn build(self) -> ReplicationInfo
pub fn build(self) -> ReplicationInfo
Consumes the builder and constructs a ReplicationInfo
.
Trait Implementations§
source§impl Clone for ReplicationInfoBuilder
impl Clone for ReplicationInfoBuilder
source§fn clone(&self) -> ReplicationInfoBuilder
fn clone(&self) -> ReplicationInfoBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ReplicationInfoBuilder
impl Debug for ReplicationInfoBuilder
source§impl Default for ReplicationInfoBuilder
impl Default for ReplicationInfoBuilder
source§fn default() -> ReplicationInfoBuilder
fn default() -> ReplicationInfoBuilder
source§impl PartialEq for ReplicationInfoBuilder
impl PartialEq for ReplicationInfoBuilder
source§fn eq(&self, other: &ReplicationInfoBuilder) -> bool
fn eq(&self, other: &ReplicationInfoBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.