Struct aws_sdk_kafka::types::builders::KafkaClusterBuilder
source · #[non_exhaustive]pub struct KafkaClusterBuilder { /* private fields */ }
Expand description
A builder for KafkaCluster
.
Implementations§
source§impl KafkaClusterBuilder
impl KafkaClusterBuilder
sourcepub fn amazon_msk_cluster(self, input: AmazonMskCluster) -> Self
pub fn amazon_msk_cluster(self, input: AmazonMskCluster) -> Self
Details of an Amazon MSK Cluster.
This field is required.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 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.
This field is required.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) -> KafkaCluster
pub fn build(self) -> KafkaCluster
Consumes the builder and constructs a KafkaCluster
.
Trait Implementations§
source§impl Clone for KafkaClusterBuilder
impl Clone for KafkaClusterBuilder
source§fn clone(&self) -> KafkaClusterBuilder
fn clone(&self) -> KafkaClusterBuilder
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 KafkaClusterBuilder
impl Debug for KafkaClusterBuilder
source§impl Default for KafkaClusterBuilder
impl Default for KafkaClusterBuilder
source§fn default() -> KafkaClusterBuilder
fn default() -> KafkaClusterBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for KafkaClusterBuilder
impl PartialEq for KafkaClusterBuilder
source§fn eq(&self, other: &KafkaClusterBuilder) -> bool
fn eq(&self, other: &KafkaClusterBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for KafkaClusterBuilder
Auto Trait Implementations§
impl Freeze for KafkaClusterBuilder
impl RefUnwindSafe for KafkaClusterBuilder
impl Send for KafkaClusterBuilder
impl Sync for KafkaClusterBuilder
impl Unpin for KafkaClusterBuilder
impl UnwindSafe for KafkaClusterBuilder
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.