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