#[non_exhaustive]
pub struct ClientVpnEndpointBuilder { /* private fields */ }
Expand description

A builder for ClientVpnEndpoint.

Implementations§

source§

impl ClientVpnEndpointBuilder

source

pub fn client_vpn_endpoint_id(self, input: impl Into<String>) -> Self

The ID of the Client VPN endpoint.

source

pub fn set_client_vpn_endpoint_id(self, input: Option<String>) -> Self

The ID of the Client VPN endpoint.

source

pub fn get_client_vpn_endpoint_id(&self) -> &Option<String>

The ID of the Client VPN endpoint.

source

pub fn description(self, input: impl Into<String>) -> Self

A brief description of the endpoint.

source

pub fn set_description(self, input: Option<String>) -> Self

A brief description of the endpoint.

source

pub fn get_description(&self) -> &Option<String>

A brief description of the endpoint.

source

pub fn status(self, input: ClientVpnEndpointStatus) -> Self

The current state of the Client VPN endpoint.

source

pub fn set_status(self, input: Option<ClientVpnEndpointStatus>) -> Self

The current state of the Client VPN endpoint.

source

pub fn get_status(&self) -> &Option<ClientVpnEndpointStatus>

The current state of the Client VPN endpoint.

source

pub fn creation_time(self, input: impl Into<String>) -> Self

The date and time the Client VPN endpoint was created.

source

pub fn set_creation_time(self, input: Option<String>) -> Self

The date and time the Client VPN endpoint was created.

source

pub fn get_creation_time(&self) -> &Option<String>

The date and time the Client VPN endpoint was created.

source

pub fn deletion_time(self, input: impl Into<String>) -> Self

The date and time the Client VPN endpoint was deleted, if applicable.

source

pub fn set_deletion_time(self, input: Option<String>) -> Self

The date and time the Client VPN endpoint was deleted, if applicable.

source

pub fn get_deletion_time(&self) -> &Option<String>

The date and time the Client VPN endpoint was deleted, if applicable.

source

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.

source

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.

source

pub fn get_dns_name(&self) -> &Option<String>

The DNS name to be used by clients when connecting to the Client VPN endpoint.

source

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.

source

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.

source

pub fn get_client_cidr_block(&self) -> &Option<String>

The IPv4 address range, in CIDR notation, from which client IP addresses are assigned.

source

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.

source

pub fn set_dns_servers(self, input: Option<Vec<String>>) -> Self

Information about the DNS servers to be used for DNS resolution.

source

pub fn get_dns_servers(&self) -> &Option<Vec<String>>

Information about the DNS servers to be used for DNS resolution.

source

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.

source

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.

source

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.

source

pub fn vpn_protocol(self, input: VpnProtocol) -> Self

The protocol used by the VPN session.

source

pub fn set_vpn_protocol(self, input: Option<VpnProtocol>) -> Self

The protocol used by the VPN session.

source

pub fn get_vpn_protocol(&self) -> &Option<VpnProtocol>

The protocol used by the VPN session.

source

pub fn transport_protocol(self, input: TransportProtocol) -> Self

The transport protocol used by the Client VPN endpoint.

source

pub fn set_transport_protocol(self, input: Option<TransportProtocol>) -> Self

The transport protocol used by the Client VPN endpoint.

source

pub fn get_transport_protocol(&self) -> &Option<TransportProtocol>

The transport protocol used by the Client VPN endpoint.

source

pub fn vpn_port(self, input: i32) -> Self

The port number for the Client VPN endpoint.

source

pub fn set_vpn_port(self, input: Option<i32>) -> Self

The port number for the Client VPN endpoint.

source

pub fn get_vpn_port(&self) -> &Option<i32>

The port number for the Client VPN endpoint.

source

pub 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.

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.

source

pub 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.

Information about the associated target networks. A target network is a subnet in a VPC.

source

pub 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.

Information about the associated target networks. A target network is a subnet in a VPC.

source

pub fn server_certificate_arn(self, input: impl Into<String>) -> Self

The ARN of the server certificate.

source

pub fn set_server_certificate_arn(self, input: Option<String>) -> Self

The ARN of the server certificate.

source

pub fn get_server_certificate_arn(&self) -> &Option<String>

The ARN of the server certificate.

source

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.

source

pub fn set_authentication_options( self, input: Option<Vec<ClientVpnAuthentication>> ) -> Self

Information about the authentication method used by the Client VPN endpoint.

source

pub fn get_authentication_options( &self ) -> &Option<Vec<ClientVpnAuthentication>>

Information about the authentication method used by the Client VPN endpoint.

source

pub fn connection_log_options(self, input: ConnectionLogResponseOptions) -> Self

Information about the client connection logging options for the Client VPN endpoint.

source

pub fn set_connection_log_options( self, input: Option<ConnectionLogResponseOptions> ) -> Self

Information about the client connection logging options for the Client VPN endpoint.

source

pub fn get_connection_log_options( &self ) -> &Option<ConnectionLogResponseOptions>

Information about the client connection logging options for the Client VPN endpoint.

source

pub fn tags(self, input: Tag) -> Self

Appends an item to tags.

To override the contents of this collection use set_tags.

Any tags assigned to the Client VPN endpoint.

source

pub fn set_tags(self, input: Option<Vec<Tag>>) -> Self

Any tags assigned to the Client VPN endpoint.

source

pub fn get_tags(&self) -> &Option<Vec<Tag>>

Any tags assigned to the Client VPN endpoint.

source

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.

source

pub fn set_security_group_ids(self, input: Option<Vec<String>>) -> Self

The IDs of the security groups for the target network.

source

pub fn get_security_group_ids(&self) -> &Option<Vec<String>>

The IDs of the security groups for the target network.

source

pub fn vpc_id(self, input: impl Into<String>) -> Self

The ID of the VPC.

source

pub fn set_vpc_id(self, input: Option<String>) -> Self

The ID of the VPC.

source

pub fn get_vpc_id(&self) -> &Option<String>

The ID of the VPC.

source

pub fn self_service_portal_url(self, input: impl Into<String>) -> Self

The URL of the self-service portal.

source

pub fn set_self_service_portal_url(self, input: Option<String>) -> Self

The URL of the self-service portal.

source

pub fn get_self_service_portal_url(&self) -> &Option<String>

The URL of the self-service portal.

source

pub fn client_connect_options(self, input: ClientConnectResponseOptions) -> Self

The options for managing connection authorization for new client connections.

source

pub fn set_client_connect_options( self, input: Option<ClientConnectResponseOptions> ) -> Self

The options for managing connection authorization for new client connections.

source

pub fn get_client_connect_options( &self ) -> &Option<ClientConnectResponseOptions>

The options for managing connection authorization for new client connections.

source

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

source

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

source

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

source

pub fn client_login_banner_options( self, input: ClientLoginBannerResponseOptions ) -> Self

Options for enabling a customizable text banner that will be displayed on Amazon Web Services provided clients when a VPN session is established.

source

pub fn set_client_login_banner_options( self, input: Option<ClientLoginBannerResponseOptions> ) -> Self

Options for enabling a customizable text banner that will be displayed on Amazon Web Services provided clients when a VPN session is established.

source

pub fn get_client_login_banner_options( &self ) -> &Option<ClientLoginBannerResponseOptions>

Options for enabling a customizable text banner that will be displayed on Amazon Web Services provided clients when a VPN session is established.

source

pub fn build(self) -> ClientVpnEndpoint

Consumes the builder and constructs a ClientVpnEndpoint.

Trait Implementations§

source§

impl Clone for ClientVpnEndpointBuilder

source§

fn clone(&self) -> ClientVpnEndpointBuilder

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ClientVpnEndpointBuilder

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for ClientVpnEndpointBuilder

source§

fn default() -> ClientVpnEndpointBuilder

Returns the “default value” for a type. Read more
source§

impl PartialEq<ClientVpnEndpointBuilder> for ClientVpnEndpointBuilder

source§

fn eq(&self, other: &ClientVpnEndpointBuilder) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for ClientVpnEndpointBuilder

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more