#[non_exhaustive]pub struct KafkaClusterDescriptionBuilder { /* private fields */ }
Expand description
A builder for KafkaClusterDescription
.
Implementations§
source§impl KafkaClusterDescriptionBuilder
impl KafkaClusterDescriptionBuilder
sourcepub fn amazon_msk_cluster(self, input: AmazonMskCluster) -> Self
pub fn amazon_msk_cluster(self, input: AmazonMskCluster) -> Self
Details of an Amazon MSK Cluster.
sourcepub fn set_amazon_msk_cluster(self, input: Option<AmazonMskCluster>) -> Self
pub fn set_amazon_msk_cluster(self, input: Option<AmazonMskCluster>) -> Self
Details of an Amazon MSK Cluster.
sourcepub fn get_amazon_msk_cluster(&self) -> &Option<AmazonMskCluster>
pub fn get_amazon_msk_cluster(&self) -> &Option<AmazonMskCluster>
Details of an Amazon MSK Cluster.
sourcepub fn kafka_cluster_alias(self, input: impl Into<String>) -> Self
pub fn kafka_cluster_alias(self, input: impl Into<String>) -> Self
The alias of the Kafka cluster. Used to prefix names of replicated topics.
sourcepub fn set_kafka_cluster_alias(self, input: Option<String>) -> Self
pub fn set_kafka_cluster_alias(self, input: Option<String>) -> Self
The alias of the Kafka cluster. Used to prefix names of replicated topics.
sourcepub fn get_kafka_cluster_alias(&self) -> &Option<String>
pub fn get_kafka_cluster_alias(&self) -> &Option<String>
The alias of the Kafka cluster. Used to prefix names of replicated topics.
sourcepub fn vpc_config(self, input: KafkaClusterClientVpcConfig) -> Self
pub fn vpc_config(self, input: KafkaClusterClientVpcConfig) -> Self
Details of an Amazon VPC which has network connectivity to the Apache Kafka cluster.
sourcepub fn set_vpc_config(self, input: Option<KafkaClusterClientVpcConfig>) -> Self
pub fn set_vpc_config(self, input: Option<KafkaClusterClientVpcConfig>) -> Self
Details of an Amazon VPC which has network connectivity to the Apache Kafka cluster.
sourcepub fn get_vpc_config(&self) -> &Option<KafkaClusterClientVpcConfig>
pub fn get_vpc_config(&self) -> &Option<KafkaClusterClientVpcConfig>
Details of an Amazon VPC which has network connectivity to the Apache Kafka cluster.
sourcepub fn build(self) -> KafkaClusterDescription
pub fn build(self) -> KafkaClusterDescription
Consumes the builder and constructs a KafkaClusterDescription
.
Trait Implementations§
source§impl Clone for KafkaClusterDescriptionBuilder
impl Clone for KafkaClusterDescriptionBuilder
source§fn clone(&self) -> KafkaClusterDescriptionBuilder
fn clone(&self) -> KafkaClusterDescriptionBuilder
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 Default for KafkaClusterDescriptionBuilder
impl Default for KafkaClusterDescriptionBuilder
source§fn default() -> KafkaClusterDescriptionBuilder
fn default() -> KafkaClusterDescriptionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for KafkaClusterDescriptionBuilder
impl PartialEq for KafkaClusterDescriptionBuilder
source§fn eq(&self, other: &KafkaClusterDescriptionBuilder) -> bool
fn eq(&self, other: &KafkaClusterDescriptionBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for KafkaClusterDescriptionBuilder
Auto Trait Implementations§
impl Freeze for KafkaClusterDescriptionBuilder
impl RefUnwindSafe for KafkaClusterDescriptionBuilder
impl Send for KafkaClusterDescriptionBuilder
impl Sync for KafkaClusterDescriptionBuilder
impl Unpin for KafkaClusterDescriptionBuilder
impl UnwindSafe for KafkaClusterDescriptionBuilder
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.