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<CreateClientVpnEndpointOutputBuilder> for CreateClientVpnEndpointOutputBuilder
impl PartialEq<CreateClientVpnEndpointOutputBuilder> 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 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