Struct aws_sdk_ec2::types::builders::ClientVpnConnectionBuilder
source · #[non_exhaustive]pub struct ClientVpnConnectionBuilder { /* private fields */ }
Expand description
A builder for ClientVpnConnection
.
Implementations§
source§impl ClientVpnConnectionBuilder
impl ClientVpnConnectionBuilder
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 to which the client is connected.
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 to which the client is connected.
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 to which the client is connected.
sourcepub fn set_timestamp(self, input: Option<String>) -> Self
pub fn set_timestamp(self, input: Option<String>) -> Self
The current date and time.
sourcepub fn get_timestamp(&self) -> &Option<String>
pub fn get_timestamp(&self) -> &Option<String>
The current date and time.
sourcepub fn connection_id(self, input: impl Into<String>) -> Self
pub fn connection_id(self, input: impl Into<String>) -> Self
The ID of the client connection.
sourcepub fn set_connection_id(self, input: Option<String>) -> Self
pub fn set_connection_id(self, input: Option<String>) -> Self
The ID of the client connection.
sourcepub fn get_connection_id(&self) -> &Option<String>
pub fn get_connection_id(&self) -> &Option<String>
The ID of the client connection.
sourcepub fn username(self, input: impl Into<String>) -> Self
pub fn username(self, input: impl Into<String>) -> Self
The username of the client who established the client connection. This information is only provided if Active Directory client authentication is used.
sourcepub fn set_username(self, input: Option<String>) -> Self
pub fn set_username(self, input: Option<String>) -> Self
The username of the client who established the client connection. This information is only provided if Active Directory client authentication is used.
sourcepub fn get_username(&self) -> &Option<String>
pub fn get_username(&self) -> &Option<String>
The username of the client who established the client connection. This information is only provided if Active Directory client authentication is used.
sourcepub fn connection_established_time(self, input: impl Into<String>) -> Self
pub fn connection_established_time(self, input: impl Into<String>) -> Self
The date and time the client connection was established.
sourcepub fn set_connection_established_time(self, input: Option<String>) -> Self
pub fn set_connection_established_time(self, input: Option<String>) -> Self
The date and time the client connection was established.
sourcepub fn get_connection_established_time(&self) -> &Option<String>
pub fn get_connection_established_time(&self) -> &Option<String>
The date and time the client connection was established.
sourcepub fn ingress_bytes(self, input: impl Into<String>) -> Self
pub fn ingress_bytes(self, input: impl Into<String>) -> Self
The number of bytes sent by the client.
sourcepub fn set_ingress_bytes(self, input: Option<String>) -> Self
pub fn set_ingress_bytes(self, input: Option<String>) -> Self
The number of bytes sent by the client.
sourcepub fn get_ingress_bytes(&self) -> &Option<String>
pub fn get_ingress_bytes(&self) -> &Option<String>
The number of bytes sent by the client.
sourcepub fn egress_bytes(self, input: impl Into<String>) -> Self
pub fn egress_bytes(self, input: impl Into<String>) -> Self
The number of bytes received by the client.
sourcepub fn set_egress_bytes(self, input: Option<String>) -> Self
pub fn set_egress_bytes(self, input: Option<String>) -> Self
The number of bytes received by the client.
sourcepub fn get_egress_bytes(&self) -> &Option<String>
pub fn get_egress_bytes(&self) -> &Option<String>
The number of bytes received by the client.
sourcepub fn ingress_packets(self, input: impl Into<String>) -> Self
pub fn ingress_packets(self, input: impl Into<String>) -> Self
The number of packets sent by the client.
sourcepub fn set_ingress_packets(self, input: Option<String>) -> Self
pub fn set_ingress_packets(self, input: Option<String>) -> Self
The number of packets sent by the client.
sourcepub fn get_ingress_packets(&self) -> &Option<String>
pub fn get_ingress_packets(&self) -> &Option<String>
The number of packets sent by the client.
sourcepub fn egress_packets(self, input: impl Into<String>) -> Self
pub fn egress_packets(self, input: impl Into<String>) -> Self
The number of packets received by the client.
sourcepub fn set_egress_packets(self, input: Option<String>) -> Self
pub fn set_egress_packets(self, input: Option<String>) -> Self
The number of packets received by the client.
sourcepub fn get_egress_packets(&self) -> &Option<String>
pub fn get_egress_packets(&self) -> &Option<String>
The number of packets received by the client.
sourcepub fn set_client_ip(self, input: Option<String>) -> Self
pub fn set_client_ip(self, input: Option<String>) -> Self
The IP address of the client.
sourcepub fn get_client_ip(&self) -> &Option<String>
pub fn get_client_ip(&self) -> &Option<String>
The IP address of the client.
sourcepub fn common_name(self, input: impl Into<String>) -> Self
pub fn common_name(self, input: impl Into<String>) -> Self
The common name associated with the client. This is either the name of the client certificate, or the Active Directory user name.
sourcepub fn set_common_name(self, input: Option<String>) -> Self
pub fn set_common_name(self, input: Option<String>) -> Self
The common name associated with the client. This is either the name of the client certificate, or the Active Directory user name.
sourcepub fn get_common_name(&self) -> &Option<String>
pub fn get_common_name(&self) -> &Option<String>
The common name associated with the client. This is either the name of the client certificate, or the Active Directory user name.
sourcepub fn status(self, input: ClientVpnConnectionStatus) -> Self
pub fn status(self, input: ClientVpnConnectionStatus) -> Self
The current state of the client connection.
sourcepub fn set_status(self, input: Option<ClientVpnConnectionStatus>) -> Self
pub fn set_status(self, input: Option<ClientVpnConnectionStatus>) -> Self
The current state of the client connection.
sourcepub fn get_status(&self) -> &Option<ClientVpnConnectionStatus>
pub fn get_status(&self) -> &Option<ClientVpnConnectionStatus>
The current state of the client connection.
sourcepub fn connection_end_time(self, input: impl Into<String>) -> Self
pub fn connection_end_time(self, input: impl Into<String>) -> Self
The date and time the client connection was terminated.
sourcepub fn set_connection_end_time(self, input: Option<String>) -> Self
pub fn set_connection_end_time(self, input: Option<String>) -> Self
The date and time the client connection was terminated.
sourcepub fn get_connection_end_time(&self) -> &Option<String>
pub fn get_connection_end_time(&self) -> &Option<String>
The date and time the client connection was terminated.
sourcepub fn posture_compliance_statuses(self, input: impl Into<String>) -> Self
pub fn posture_compliance_statuses(self, input: impl Into<String>) -> Self
Appends an item to posture_compliance_statuses
.
To override the contents of this collection use set_posture_compliance_statuses
.
The statuses returned by the client connect handler for posture compliance, if applicable.
sourcepub fn set_posture_compliance_statuses(self, input: Option<Vec<String>>) -> Self
pub fn set_posture_compliance_statuses(self, input: Option<Vec<String>>) -> Self
The statuses returned by the client connect handler for posture compliance, if applicable.
sourcepub fn get_posture_compliance_statuses(&self) -> &Option<Vec<String>>
pub fn get_posture_compliance_statuses(&self) -> &Option<Vec<String>>
The statuses returned by the client connect handler for posture compliance, if applicable.
sourcepub fn build(self) -> ClientVpnConnection
pub fn build(self) -> ClientVpnConnection
Consumes the builder and constructs a ClientVpnConnection
.
Trait Implementations§
source§impl Clone for ClientVpnConnectionBuilder
impl Clone for ClientVpnConnectionBuilder
source§fn clone(&self) -> ClientVpnConnectionBuilder
fn clone(&self) -> ClientVpnConnectionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ClientVpnConnectionBuilder
impl Debug for ClientVpnConnectionBuilder
source§impl Default for ClientVpnConnectionBuilder
impl Default for ClientVpnConnectionBuilder
source§fn default() -> ClientVpnConnectionBuilder
fn default() -> ClientVpnConnectionBuilder
source§impl PartialEq for ClientVpnConnectionBuilder
impl PartialEq for ClientVpnConnectionBuilder
source§fn eq(&self, other: &ClientVpnConnectionBuilder) -> bool
fn eq(&self, other: &ClientVpnConnectionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ClientVpnConnectionBuilder
Auto Trait Implementations§
impl Freeze for ClientVpnConnectionBuilder
impl RefUnwindSafe for ClientVpnConnectionBuilder
impl Send for ClientVpnConnectionBuilder
impl Sync for ClientVpnConnectionBuilder
impl Unpin for ClientVpnConnectionBuilder
impl UnwindSafe for ClientVpnConnectionBuilder
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
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>
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>
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 more