Struct aws_sdk_ec2::types::builders::ClientVpnEndpointBuilder
source · #[non_exhaustive]pub struct ClientVpnEndpointBuilder { /* private fields */ }
Expand description
A builder for ClientVpnEndpoint
.
Implementations§
source§impl ClientVpnEndpointBuilder
impl ClientVpnEndpointBuilder
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 description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A brief description of the endpoint.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A brief description of the endpoint.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A brief description of the 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 creation_time(self, input: impl Into<String>) -> Self
pub fn creation_time(self, input: impl Into<String>) -> Self
The date and time the Client VPN endpoint was created.
sourcepub fn set_creation_time(self, input: Option<String>) -> Self
pub fn set_creation_time(self, input: Option<String>) -> Self
The date and time the Client VPN endpoint was created.
sourcepub fn get_creation_time(&self) -> &Option<String>
pub fn get_creation_time(&self) -> &Option<String>
The date and time the Client VPN endpoint was created.
sourcepub fn deletion_time(self, input: impl Into<String>) -> Self
pub fn deletion_time(self, input: impl Into<String>) -> Self
The date and time the Client VPN endpoint was deleted, if applicable.
sourcepub fn set_deletion_time(self, input: Option<String>) -> Self
pub fn set_deletion_time(self, input: Option<String>) -> Self
The date and time the Client VPN endpoint was deleted, if applicable.
sourcepub fn get_deletion_time(&self) -> &Option<String>
pub fn get_deletion_time(&self) -> &Option<String>
The date and time the Client VPN endpoint was deleted, if applicable.
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 connecting to the Client VPN endpoint.
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 connecting to the Client VPN endpoint.
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 connecting to the Client VPN endpoint.
sourcepub fn client_cidr_block(self, input: impl Into<String>) -> Self
pub fn client_cidr_block(self, input: impl Into<String>) -> Self
The IPv4 address range, in CIDR notation, from which client IP addresses are assigned.
sourcepub fn set_client_cidr_block(self, input: Option<String>) -> Self
pub fn set_client_cidr_block(self, input: Option<String>) -> Self
The IPv4 address range, in CIDR notation, from which client IP addresses are assigned.
sourcepub fn get_client_cidr_block(&self) -> &Option<String>
pub fn get_client_cidr_block(&self) -> &Option<String>
The IPv4 address range, in CIDR notation, from which client IP addresses are assigned.
sourcepub fn dns_servers(self, input: impl Into<String>) -> Self
pub fn dns_servers(self, input: impl Into<String>) -> Self
Appends an item to dns_servers
.
To override the contents of this collection use set_dns_servers
.
Information about the DNS servers to be used for DNS resolution.
sourcepub fn set_dns_servers(self, input: Option<Vec<String>>) -> Self
pub fn set_dns_servers(self, input: Option<Vec<String>>) -> Self
Information about the DNS servers to be used for DNS resolution.
sourcepub fn get_dns_servers(&self) -> &Option<Vec<String>>
pub fn get_dns_servers(&self) -> &Option<Vec<String>>
Information about the DNS servers to be used for DNS resolution.
sourcepub fn split_tunnel(self, input: bool) -> Self
pub fn split_tunnel(self, input: bool) -> Self
Indicates whether split-tunnel is enabled in the Client VPN endpoint.
For information about split-tunnel VPN endpoints, see Split-Tunnel Client VPN endpoint in the Client VPN Administrator Guide.
sourcepub fn set_split_tunnel(self, input: Option<bool>) -> Self
pub fn set_split_tunnel(self, input: Option<bool>) -> Self
Indicates whether split-tunnel is enabled in the Client VPN endpoint.
For information about split-tunnel VPN endpoints, see Split-Tunnel Client VPN endpoint in the Client VPN Administrator Guide.
sourcepub fn get_split_tunnel(&self) -> &Option<bool>
pub fn get_split_tunnel(&self) -> &Option<bool>
Indicates whether split-tunnel is enabled in the Client VPN endpoint.
For information about split-tunnel VPN endpoints, see Split-Tunnel Client VPN endpoint in the Client VPN Administrator Guide.
sourcepub fn vpn_protocol(self, input: VpnProtocol) -> Self
pub fn vpn_protocol(self, input: VpnProtocol) -> Self
The protocol used by the VPN session.
sourcepub fn set_vpn_protocol(self, input: Option<VpnProtocol>) -> Self
pub fn set_vpn_protocol(self, input: Option<VpnProtocol>) -> Self
The protocol used by the VPN session.
sourcepub fn get_vpn_protocol(&self) -> &Option<VpnProtocol>
pub fn get_vpn_protocol(&self) -> &Option<VpnProtocol>
The protocol used by the VPN session.
sourcepub fn transport_protocol(self, input: TransportProtocol) -> Self
pub fn transport_protocol(self, input: TransportProtocol) -> Self
The transport protocol used by the Client VPN endpoint.
sourcepub fn set_transport_protocol(self, input: Option<TransportProtocol>) -> Self
pub fn set_transport_protocol(self, input: Option<TransportProtocol>) -> Self
The transport protocol used by the Client VPN endpoint.
sourcepub fn get_transport_protocol(&self) -> &Option<TransportProtocol>
pub fn get_transport_protocol(&self) -> &Option<TransportProtocol>
The transport protocol used by the Client VPN endpoint.
sourcepub fn set_vpn_port(self, input: Option<i32>) -> Self
pub fn set_vpn_port(self, input: Option<i32>) -> Self
The port number for the Client VPN endpoint.
sourcepub fn get_vpn_port(&self) -> &Option<i32>
pub fn get_vpn_port(&self) -> &Option<i32>
The port number for the Client VPN endpoint.
sourcepub fn associated_target_networks(self, input: AssociatedTargetNetwork) -> Self
👎Deprecated: This property is deprecated. To view the target networks associated with a Client VPN endpoint, call DescribeClientVpnTargetNetworks and inspect the clientVpnTargetNetworks response element.
pub fn associated_target_networks(self, input: AssociatedTargetNetwork) -> Self
Appends an item to associated_target_networks
.
To override the contents of this collection use set_associated_target_networks
.
Information about the associated target networks. A target network is a subnet in a VPC.
sourcepub fn set_associated_target_networks(
self,
input: Option<Vec<AssociatedTargetNetwork>>
) -> Self
👎Deprecated: This property is deprecated. To view the target networks associated with a Client VPN endpoint, call DescribeClientVpnTargetNetworks and inspect the clientVpnTargetNetworks response element.
pub fn set_associated_target_networks( self, input: Option<Vec<AssociatedTargetNetwork>> ) -> Self
Information about the associated target networks. A target network is a subnet in a VPC.
sourcepub fn get_associated_target_networks(
&self
) -> &Option<Vec<AssociatedTargetNetwork>>
👎Deprecated: This property is deprecated. To view the target networks associated with a Client VPN endpoint, call DescribeClientVpnTargetNetworks and inspect the clientVpnTargetNetworks response element.
pub fn get_associated_target_networks( &self ) -> &Option<Vec<AssociatedTargetNetwork>>
Information about the associated target networks. A target network is a subnet in a VPC.
sourcepub fn server_certificate_arn(self, input: impl Into<String>) -> Self
pub fn server_certificate_arn(self, input: impl Into<String>) -> Self
The ARN of the server certificate.
sourcepub fn set_server_certificate_arn(self, input: Option<String>) -> Self
pub fn set_server_certificate_arn(self, input: Option<String>) -> Self
The ARN of the server certificate.
sourcepub fn get_server_certificate_arn(&self) -> &Option<String>
pub fn get_server_certificate_arn(&self) -> &Option<String>
The ARN of the server certificate.
sourcepub fn authentication_options(self, input: ClientVpnAuthentication) -> Self
pub fn authentication_options(self, input: ClientVpnAuthentication) -> Self
Appends an item to authentication_options
.
To override the contents of this collection use set_authentication_options
.
Information about the authentication method used by the Client VPN endpoint.
sourcepub fn set_authentication_options(
self,
input: Option<Vec<ClientVpnAuthentication>>
) -> Self
pub fn set_authentication_options( self, input: Option<Vec<ClientVpnAuthentication>> ) -> Self
Information about the authentication method used by the Client VPN endpoint.
sourcepub fn get_authentication_options(
&self
) -> &Option<Vec<ClientVpnAuthentication>>
pub fn get_authentication_options( &self ) -> &Option<Vec<ClientVpnAuthentication>>
Information about the authentication method used by the Client VPN endpoint.
sourcepub fn connection_log_options(self, input: ConnectionLogResponseOptions) -> Self
pub fn connection_log_options(self, input: ConnectionLogResponseOptions) -> Self
Information about the client connection logging options for the Client VPN endpoint.
sourcepub fn set_connection_log_options(
self,
input: Option<ConnectionLogResponseOptions>
) -> Self
pub fn set_connection_log_options( self, input: Option<ConnectionLogResponseOptions> ) -> Self
Information about the client connection logging options for the Client VPN endpoint.
sourcepub fn get_connection_log_options(
&self
) -> &Option<ConnectionLogResponseOptions>
pub fn get_connection_log_options( &self ) -> &Option<ConnectionLogResponseOptions>
Information about the client connection logging options for the Client VPN endpoint.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
Any tags assigned to the Client VPN endpoint.
Any tags assigned to the Client VPN endpoint.
Any tags assigned to the Client VPN endpoint.
sourcepub fn security_group_ids(self, input: impl Into<String>) -> Self
pub fn security_group_ids(self, input: impl Into<String>) -> Self
Appends an item to security_group_ids
.
To override the contents of this collection use set_security_group_ids
.
The IDs of the security groups for the target network.
sourcepub fn set_security_group_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_security_group_ids(self, input: Option<Vec<String>>) -> Self
The IDs of the security groups for the target network.
sourcepub fn get_security_group_ids(&self) -> &Option<Vec<String>>
pub fn get_security_group_ids(&self) -> &Option<Vec<String>>
The IDs of the security groups for the target network.
sourcepub fn set_vpc_id(self, input: Option<String>) -> Self
pub fn set_vpc_id(self, input: Option<String>) -> Self
The ID of the VPC.
sourcepub fn get_vpc_id(&self) -> &Option<String>
pub fn get_vpc_id(&self) -> &Option<String>
The ID of the VPC.
sourcepub fn self_service_portal_url(self, input: impl Into<String>) -> Self
pub fn self_service_portal_url(self, input: impl Into<String>) -> Self
The URL of the self-service portal.
sourcepub fn set_self_service_portal_url(self, input: Option<String>) -> Self
pub fn set_self_service_portal_url(self, input: Option<String>) -> Self
The URL of the self-service portal.
sourcepub fn get_self_service_portal_url(&self) -> &Option<String>
pub fn get_self_service_portal_url(&self) -> &Option<String>
The URL of the self-service portal.
sourcepub fn client_connect_options(self, input: ClientConnectResponseOptions) -> Self
pub fn client_connect_options(self, input: ClientConnectResponseOptions) -> Self
The options for managing connection authorization for new client connections.
sourcepub fn set_client_connect_options(
self,
input: Option<ClientConnectResponseOptions>
) -> Self
pub fn set_client_connect_options( self, input: Option<ClientConnectResponseOptions> ) -> Self
The options for managing connection authorization for new client connections.
sourcepub fn get_client_connect_options(
&self
) -> &Option<ClientConnectResponseOptions>
pub fn get_client_connect_options( &self ) -> &Option<ClientConnectResponseOptions>
The options for managing connection authorization for new client connections.
sourcepub fn session_timeout_hours(self, input: i32) -> Self
pub fn session_timeout_hours(self, input: i32) -> Self
The maximum VPN session duration time in hours.
Valid values: 8 | 10 | 12 | 24
Default value: 24
sourcepub fn set_session_timeout_hours(self, input: Option<i32>) -> Self
pub fn set_session_timeout_hours(self, input: Option<i32>) -> Self
The maximum VPN session duration time in hours.
Valid values: 8 | 10 | 12 | 24
Default value: 24
sourcepub fn get_session_timeout_hours(&self) -> &Option<i32>
pub fn get_session_timeout_hours(&self) -> &Option<i32>
The maximum VPN session duration time in hours.
Valid values: 8 | 10 | 12 | 24
Default value: 24
Options for enabling a customizable text banner that will be displayed on Amazon Web Services provided clients when a VPN session is established.
Options for enabling a customizable text banner that will be displayed on Amazon Web Services provided clients when a VPN session is established.
Options for enabling a customizable text banner that will be displayed on Amazon Web Services provided clients when a VPN session is established.
sourcepub fn build(self) -> ClientVpnEndpoint
pub fn build(self) -> ClientVpnEndpoint
Consumes the builder and constructs a ClientVpnEndpoint
.
Trait Implementations§
source§impl Clone for ClientVpnEndpointBuilder
impl Clone for ClientVpnEndpointBuilder
source§fn clone(&self) -> ClientVpnEndpointBuilder
fn clone(&self) -> ClientVpnEndpointBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ClientVpnEndpointBuilder
impl Debug for ClientVpnEndpointBuilder
source§impl Default for ClientVpnEndpointBuilder
impl Default for ClientVpnEndpointBuilder
source§fn default() -> ClientVpnEndpointBuilder
fn default() -> ClientVpnEndpointBuilder
source§impl PartialEq<ClientVpnEndpointBuilder> for ClientVpnEndpointBuilder
impl PartialEq<ClientVpnEndpointBuilder> for ClientVpnEndpointBuilder
source§fn eq(&self, other: &ClientVpnEndpointBuilder) -> bool
fn eq(&self, other: &ClientVpnEndpointBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.