#[non_exhaustive]pub struct ClientConnectResponseOptionsBuilder { /* private fields */ }
Expand description
A builder for ClientConnectResponseOptions
.
Implementations§
source§impl ClientConnectResponseOptionsBuilder
impl ClientConnectResponseOptionsBuilder
sourcepub fn enabled(self, input: bool) -> Self
pub fn enabled(self, input: bool) -> Self
Indicates whether client connect options are enabled.
sourcepub fn set_enabled(self, input: Option<bool>) -> Self
pub fn set_enabled(self, input: Option<bool>) -> Self
Indicates whether client connect options are enabled.
sourcepub fn get_enabled(&self) -> &Option<bool>
pub fn get_enabled(&self) -> &Option<bool>
Indicates whether client connect options are enabled.
sourcepub fn lambda_function_arn(self, input: impl Into<String>) -> Self
pub fn lambda_function_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the Lambda function used for connection authorization.
sourcepub fn set_lambda_function_arn(self, input: Option<String>) -> Self
pub fn set_lambda_function_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the Lambda function used for connection authorization.
sourcepub fn get_lambda_function_arn(&self) -> &Option<String>
pub fn get_lambda_function_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the Lambda function used for connection authorization.
sourcepub fn status(self, input: ClientVpnEndpointAttributeStatus) -> Self
pub fn status(self, input: ClientVpnEndpointAttributeStatus) -> Self
The status of any updates to the client connect options.
sourcepub fn set_status(self, input: Option<ClientVpnEndpointAttributeStatus>) -> Self
pub fn set_status(self, input: Option<ClientVpnEndpointAttributeStatus>) -> Self
The status of any updates to the client connect options.
sourcepub fn get_status(&self) -> &Option<ClientVpnEndpointAttributeStatus>
pub fn get_status(&self) -> &Option<ClientVpnEndpointAttributeStatus>
The status of any updates to the client connect options.
sourcepub fn build(self) -> ClientConnectResponseOptions
pub fn build(self) -> ClientConnectResponseOptions
Consumes the builder and constructs a ClientConnectResponseOptions
.
Trait Implementations§
source§impl Clone for ClientConnectResponseOptionsBuilder
impl Clone for ClientConnectResponseOptionsBuilder
source§fn clone(&self) -> ClientConnectResponseOptionsBuilder
fn clone(&self) -> ClientConnectResponseOptionsBuilder
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 ClientConnectResponseOptionsBuilder
impl Default for ClientConnectResponseOptionsBuilder
source§fn default() -> ClientConnectResponseOptionsBuilder
fn default() -> ClientConnectResponseOptionsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ClientConnectResponseOptionsBuilder
impl PartialEq for ClientConnectResponseOptionsBuilder
source§fn eq(&self, other: &ClientConnectResponseOptionsBuilder) -> bool
fn eq(&self, other: &ClientConnectResponseOptionsBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ClientConnectResponseOptionsBuilder
Auto Trait Implementations§
impl Freeze for ClientConnectResponseOptionsBuilder
impl RefUnwindSafe for ClientConnectResponseOptionsBuilder
impl Send for ClientConnectResponseOptionsBuilder
impl Sync for ClientConnectResponseOptionsBuilder
impl Unpin for ClientConnectResponseOptionsBuilder
impl UnwindSafe for ClientConnectResponseOptionsBuilder
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.