Struct aws_sdk_kafka::types::builders::ServerlessBuilder
source · #[non_exhaustive]pub struct ServerlessBuilder { /* private fields */ }
Expand description
A builder for Serverless
.
Implementations§
source§impl ServerlessBuilder
impl ServerlessBuilder
sourcepub fn vpc_configs(self, input: VpcConfig) -> Self
pub fn vpc_configs(self, input: VpcConfig) -> Self
Appends an item to vpc_configs
.
To override the contents of this collection use set_vpc_configs
.
The configuration of the Amazon VPCs for the cluster.
sourcepub fn set_vpc_configs(self, input: Option<Vec<VpcConfig>>) -> Self
pub fn set_vpc_configs(self, input: Option<Vec<VpcConfig>>) -> Self
The configuration of the Amazon VPCs for the cluster.
sourcepub fn get_vpc_configs(&self) -> &Option<Vec<VpcConfig>>
pub fn get_vpc_configs(&self) -> &Option<Vec<VpcConfig>>
The configuration of the Amazon VPCs for the cluster.
sourcepub fn client_authentication(
self,
input: ServerlessClientAuthentication,
) -> Self
pub fn client_authentication( self, input: ServerlessClientAuthentication, ) -> Self
Includes all client authentication information.
sourcepub fn set_client_authentication(
self,
input: Option<ServerlessClientAuthentication>,
) -> Self
pub fn set_client_authentication( self, input: Option<ServerlessClientAuthentication>, ) -> Self
Includes all client authentication information.
sourcepub fn get_client_authentication(
&self,
) -> &Option<ServerlessClientAuthentication>
pub fn get_client_authentication( &self, ) -> &Option<ServerlessClientAuthentication>
Includes all client authentication information.
sourcepub fn build(self) -> Serverless
pub fn build(self) -> Serverless
Consumes the builder and constructs a Serverless
.
Trait Implementations§
source§impl Clone for ServerlessBuilder
impl Clone for ServerlessBuilder
source§fn clone(&self) -> ServerlessBuilder
fn clone(&self) -> ServerlessBuilder
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 ServerlessBuilder
impl Debug for ServerlessBuilder
source§impl Default for ServerlessBuilder
impl Default for ServerlessBuilder
source§fn default() -> ServerlessBuilder
fn default() -> ServerlessBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ServerlessBuilder
impl PartialEq for ServerlessBuilder
source§fn eq(&self, other: &ServerlessBuilder) -> bool
fn eq(&self, other: &ServerlessBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ServerlessBuilder
Auto Trait Implementations§
impl Freeze for ServerlessBuilder
impl RefUnwindSafe for ServerlessBuilder
impl Send for ServerlessBuilder
impl Sync for ServerlessBuilder
impl Unpin for ServerlessBuilder
impl UnwindSafe for ServerlessBuilder
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.