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<ClientVpnConnectionBuilder> for ClientVpnConnectionBuilder
impl PartialEq<ClientVpnConnectionBuilder> 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 ==
.