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 ==
.impl StructuralPartialEq for ReplicationInfoBuilder
Auto Trait Implementations§
impl Freeze for ReplicationInfoBuilder
impl RefUnwindSafe for ReplicationInfoBuilder
impl Send for ReplicationInfoBuilder
impl Sync for ReplicationInfoBuilder
impl Unpin for ReplicationInfoBuilder
impl UnwindSafe for ReplicationInfoBuilder
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