Interface CreateClientVpnEndpointRequest.Builder

    • Method Detail

      • clientCidrBlock

        CreateClientVpnEndpointRequest.Builder clientCidrBlock​(String clientCidrBlock)

        The IPv4 address range, in CIDR notation, from which to assign client IP addresses. The address range cannot overlap with the local CIDR of the VPC in which the associated subnet is located, or the routes that you add manually. The address range cannot be changed after the Client VPN endpoint has been created. Client CIDR range must have a size of at least /22 and must not be greater than /12.

        Parameters:
        clientCidrBlock - The IPv4 address range, in CIDR notation, from which to assign client IP addresses. The address range cannot overlap with the local CIDR of the VPC in which the associated subnet is located, or the routes that you add manually. The address range cannot be changed after the Client VPN endpoint has been created. Client CIDR range must have a size of at least /22 and must not be greater than /12.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • authenticationOptions

        CreateClientVpnEndpointRequest.Builder authenticationOptions​(Collection<ClientVpnAuthenticationRequest> authenticationOptions)

        Information about the authentication method to be used to authenticate clients.

        Parameters:
        authenticationOptions - Information about the authentication method to be used to authenticate clients.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • authenticationOptions

        CreateClientVpnEndpointRequest.Builder authenticationOptions​(ClientVpnAuthenticationRequest... authenticationOptions)

        Information about the authentication method to be used to authenticate clients.

        Parameters:
        authenticationOptions - Information about the authentication method to be used to authenticate clients.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • connectionLogOptions

        CreateClientVpnEndpointRequest.Builder connectionLogOptions​(ConnectionLogOptions connectionLogOptions)

        Information about the client connection logging options.

        If you enable client connection logging, data about client connections is sent to a Cloudwatch Logs log stream. The following information is logged:

        • Client connection requests

        • Client connection results (successful and unsuccessful)

        • Reasons for unsuccessful client connection requests

        • Client connection termination time

        Parameters:
        connectionLogOptions - Information about the client connection logging options.

        If you enable client connection logging, data about client connections is sent to a Cloudwatch Logs log stream. The following information is logged:

        • Client connection requests

        • Client connection results (successful and unsuccessful)

        • Reasons for unsuccessful client connection requests

        • Client connection termination time

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dnsServers

        CreateClientVpnEndpointRequest.Builder dnsServers​(Collection<String> dnsServers)

        Information about the DNS servers to be used for DNS resolution. A Client VPN endpoint can have up to two DNS servers. If no DNS server is specified, the DNS address configured on the device is used for the DNS server.

        Parameters:
        dnsServers - Information about the DNS servers to be used for DNS resolution. A Client VPN endpoint can have up to two DNS servers. If no DNS server is specified, the DNS address configured on the device is used for the DNS server.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dnsServers

        CreateClientVpnEndpointRequest.Builder dnsServers​(String... dnsServers)

        Information about the DNS servers to be used for DNS resolution. A Client VPN endpoint can have up to two DNS servers. If no DNS server is specified, the DNS address configured on the device is used for the DNS server.

        Parameters:
        dnsServers - Information about the DNS servers to be used for DNS resolution. A Client VPN endpoint can have up to two DNS servers. If no DNS server is specified, the DNS address configured on the device is used for the DNS server.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • transportProtocol

        CreateClientVpnEndpointRequest.Builder transportProtocol​(String transportProtocol)

        The transport protocol to be used by the VPN session.

        Default value: udp

        Parameters:
        transportProtocol - The transport protocol to be used by the VPN session.

        Default value: udp

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TransportProtocol, TransportProtocol
      • vpnPort

        CreateClientVpnEndpointRequest.Builder vpnPort​(Integer vpnPort)

        The port number to assign to the Client VPN endpoint for TCP and UDP traffic.

        Valid Values: 443 | 1194

        Default Value: 443

        Parameters:
        vpnPort - The port number to assign to the Client VPN endpoint for TCP and UDP traffic.

        Valid Values: 443 | 1194

        Default Value: 443

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        CreateClientVpnEndpointRequest.Builder description​(String description)

        A brief description of the Client VPN endpoint.

        Parameters:
        description - A brief description of the Client VPN endpoint.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • splitTunnel

        CreateClientVpnEndpointRequest.Builder splitTunnel​(Boolean splitTunnel)

        Indicates whether split-tunnel is enabled on the Client VPN endpoint.

        By default, split-tunnel on a VPN endpoint is disabled.

        For information about split-tunnel VPN endpoints, see Split-tunnel Client VPN endpoint in the Client VPN Administrator Guide.

        Parameters:
        splitTunnel - Indicates whether split-tunnel is enabled on the Client VPN endpoint.

        By default, split-tunnel on a VPN endpoint is disabled.

        For information about split-tunnel VPN endpoints, see Split-tunnel Client VPN endpoint in the Client VPN Administrator Guide.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dryRun

        CreateClientVpnEndpointRequest.Builder dryRun​(Boolean dryRun)

        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

        Parameters:
        dryRun - Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clientToken

        CreateClientVpnEndpointRequest.Builder clientToken​(String clientToken)

        Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

        Parameters:
        clientToken - Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tagSpecifications

        CreateClientVpnEndpointRequest.Builder tagSpecifications​(Collection<TagSpecification> tagSpecifications)

        The tags to apply to the Client VPN endpoint during creation.

        Parameters:
        tagSpecifications - The tags to apply to the Client VPN endpoint during creation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tagSpecifications

        CreateClientVpnEndpointRequest.Builder tagSpecifications​(TagSpecification... tagSpecifications)

        The tags to apply to the Client VPN endpoint during creation.

        Parameters:
        tagSpecifications - The tags to apply to the Client VPN endpoint during creation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • securityGroupIds

        CreateClientVpnEndpointRequest.Builder securityGroupIds​(Collection<String> securityGroupIds)

        The IDs of one or more security groups to apply to the target network. You must also specify the ID of the VPC that contains the security groups.

        Parameters:
        securityGroupIds - The IDs of one or more security groups to apply to the target network. You must also specify the ID of the VPC that contains the security groups.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • securityGroupIds

        CreateClientVpnEndpointRequest.Builder securityGroupIds​(String... securityGroupIds)

        The IDs of one or more security groups to apply to the target network. You must also specify the ID of the VPC that contains the security groups.

        Parameters:
        securityGroupIds - The IDs of one or more security groups to apply to the target network. You must also specify the ID of the VPC that contains the security groups.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • vpcId

        CreateClientVpnEndpointRequest.Builder vpcId​(String vpcId)

        The ID of the VPC to associate with the Client VPN endpoint. If no security group IDs are specified in the request, the default security group for the VPC is applied.

        Parameters:
        vpcId - The ID of the VPC to associate with the Client VPN endpoint. If no security group IDs are specified in the request, the default security group for the VPC is applied.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • selfServicePortal

        CreateClientVpnEndpointRequest.Builder selfServicePortal​(String selfServicePortal)

        Specify whether to enable the self-service portal for the Client VPN endpoint.

        Default Value: enabled

        Parameters:
        selfServicePortal - Specify whether to enable the self-service portal for the Client VPN endpoint.

        Default Value: enabled

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SelfServicePortal, SelfServicePortal
      • selfServicePortal

        CreateClientVpnEndpointRequest.Builder selfServicePortal​(SelfServicePortal selfServicePortal)

        Specify whether to enable the self-service portal for the Client VPN endpoint.

        Default Value: enabled

        Parameters:
        selfServicePortal - Specify whether to enable the self-service portal for the Client VPN endpoint.

        Default Value: enabled

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SelfServicePortal, SelfServicePortal
      • clientConnectOptions

        CreateClientVpnEndpointRequest.Builder clientConnectOptions​(ClientConnectOptions clientConnectOptions)

        The options for managing connection authorization for new client connections.

        Parameters:
        clientConnectOptions - The options for managing connection authorization for new client connections.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sessionTimeoutHours

        CreateClientVpnEndpointRequest.Builder sessionTimeoutHours​(Integer sessionTimeoutHours)

        The maximum VPN session duration time in hours.

        Valid values: 8 | 10 | 12 | 24

        Default value: 24

        Parameters:
        sessionTimeoutHours - The maximum VPN session duration time in hours.

        Valid values: 8 | 10 | 12 | 24

        Default value: 24

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clientLoginBannerOptions

        CreateClientVpnEndpointRequest.Builder clientLoginBannerOptions​(ClientLoginBannerOptions clientLoginBannerOptions)

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

        Parameters:
        clientLoginBannerOptions - Options for enabling a customizable text banner that will be displayed on Amazon Web Services provided clients when a VPN session is established.
        Returns:
        Returns a reference to this object so that method calls can be chained together.