Struct aws_sdk_ec2::model::client_vpn_connection::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ClientVpnConnection
.
Implementations§
source§impl Builder
impl Builder
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 set_timestamp(self, input: Option<String>) -> Self
pub fn set_timestamp(self, input: Option<String>) -> Self
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 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 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 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 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 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 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 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 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 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 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 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 build(self) -> ClientVpnConnection
pub fn build(self) -> ClientVpnConnection
Consumes the builder and constructs a ClientVpnConnection
.