Struct aws_sdk_ec2::operation::create_client_vpn_endpoint::builders::CreateClientVpnEndpointOutputBuilder
source · #[non_exhaustive]pub struct CreateClientVpnEndpointOutputBuilder { /* private fields */ }
Expand description
A builder for CreateClientVpnEndpointOutput
.
Implementations§
source§impl CreateClientVpnEndpointOutputBuilder
impl CreateClientVpnEndpointOutputBuilder
sourcepub fn client_vpn_endpoint_id(self, input: impl Into<String>) -> Self
pub fn client_vpn_endpoint_id(self, input: impl Into<String>) -> Self
The ID of the Client VPN endpoint.
sourcepub fn set_client_vpn_endpoint_id(self, input: Option<String>) -> Self
pub fn set_client_vpn_endpoint_id(self, input: Option<String>) -> Self
The ID of the Client VPN endpoint.
sourcepub fn get_client_vpn_endpoint_id(&self) -> &Option<String>
pub fn get_client_vpn_endpoint_id(&self) -> &Option<String>
The ID of the Client VPN endpoint.
sourcepub fn status(self, input: ClientVpnEndpointStatus) -> Self
pub fn status(self, input: ClientVpnEndpointStatus) -> Self
The current state of the Client VPN endpoint.
sourcepub fn set_status(self, input: Option<ClientVpnEndpointStatus>) -> Self
pub fn set_status(self, input: Option<ClientVpnEndpointStatus>) -> Self
The current state of the Client VPN endpoint.
sourcepub fn get_status(&self) -> &Option<ClientVpnEndpointStatus>
pub fn get_status(&self) -> &Option<ClientVpnEndpointStatus>
The current state of the Client VPN endpoint.
sourcepub fn dns_name(self, input: impl Into<String>) -> Self
pub fn dns_name(self, input: impl Into<String>) -> Self
The DNS name to be used by clients when establishing their VPN session.
sourcepub fn set_dns_name(self, input: Option<String>) -> Self
pub fn set_dns_name(self, input: Option<String>) -> Self
The DNS name to be used by clients when establishing their VPN session.
sourcepub fn get_dns_name(&self) -> &Option<String>
pub fn get_dns_name(&self) -> &Option<String>
The DNS name to be used by clients when establishing their VPN session.
sourcepub fn build(self) -> CreateClientVpnEndpointOutput
pub fn build(self) -> CreateClientVpnEndpointOutput
Consumes the builder and constructs a CreateClientVpnEndpointOutput
.
Trait Implementations§
source§impl Clone for CreateClientVpnEndpointOutputBuilder
impl Clone for CreateClientVpnEndpointOutputBuilder
source§fn clone(&self) -> CreateClientVpnEndpointOutputBuilder
fn clone(&self) -> CreateClientVpnEndpointOutputBuilder
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 CreateClientVpnEndpointOutputBuilder
impl Default for CreateClientVpnEndpointOutputBuilder
source§fn default() -> CreateClientVpnEndpointOutputBuilder
fn default() -> CreateClientVpnEndpointOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateClientVpnEndpointOutputBuilder
impl PartialEq for CreateClientVpnEndpointOutputBuilder
source§fn eq(&self, other: &CreateClientVpnEndpointOutputBuilder) -> bool
fn eq(&self, other: &CreateClientVpnEndpointOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateClientVpnEndpointOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateClientVpnEndpointOutputBuilder
impl RefUnwindSafe for CreateClientVpnEndpointOutputBuilder
impl Send for CreateClientVpnEndpointOutputBuilder
impl Sync for CreateClientVpnEndpointOutputBuilder
impl Unpin for CreateClientVpnEndpointOutputBuilder
impl UnwindSafe for CreateClientVpnEndpointOutputBuilder
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.