Interface ModifyClientVpnEndpointRequest.Builder

    • Method Detail

      • clientVpnEndpointId

        ModifyClientVpnEndpointRequest.Builder clientVpnEndpointId​(String clientVpnEndpointId)

        The ID of the Client VPN endpoint to modify.

        Parameters:
        clientVpnEndpointId - The ID of the Client VPN endpoint to modify.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • serverCertificateArn

        ModifyClientVpnEndpointRequest.Builder serverCertificateArn​(String serverCertificateArn)

        The ARN of the server certificate to be used. The server certificate must be provisioned in Certificate Manager (ACM).

        Parameters:
        serverCertificateArn - The ARN of the server certificate to be used. The server certificate must be provisioned in Certificate Manager (ACM).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • connectionLogOptions

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

        ModifyClientVpnEndpointRequest.Builder dnsServers​(DnsServersOptionsModifyStructure dnsServers)

        Information about the DNS servers to be used by Client VPN connections. A Client VPN endpoint can have up to two DNS servers.

        Parameters:
        dnsServers - Information about the DNS servers to be used by Client VPN connections. A Client VPN endpoint can have up to two DNS servers.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • vpnPort

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

        ModifyClientVpnEndpointRequest.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.
      • dryRun

        ModifyClientVpnEndpointRequest.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.
      • securityGroupIds

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

        The IDs of one or more security groups to apply to the target network.

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

        ModifyClientVpnEndpointRequest.Builder securityGroupIds​(String... securityGroupIds)

        The IDs of one or more security groups to apply to the target network.

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

        ModifyClientVpnEndpointRequest.Builder vpcId​(String vpcId)

        The ID of the VPC to associate with the Client VPN endpoint.

        Parameters:
        vpcId - The ID of the VPC to associate with the Client VPN endpoint.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • selfServicePortal

        ModifyClientVpnEndpointRequest.Builder selfServicePortal​(String selfServicePortal)

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

        Parameters:
        selfServicePortal - Specify whether to enable the self-service portal for the Client VPN endpoint.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SelfServicePortal, SelfServicePortal
      • selfServicePortal

        ModifyClientVpnEndpointRequest.Builder selfServicePortal​(SelfServicePortal selfServicePortal)

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

        Parameters:
        selfServicePortal - Specify whether to enable the self-service portal for the Client VPN endpoint.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SelfServicePortal, SelfServicePortal
      • clientConnectOptions

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

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

        ModifyClientVpnEndpointRequest.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.
      • disconnectOnSessionTimeout

        ModifyClientVpnEndpointRequest.Builder disconnectOnSessionTimeout​(Boolean disconnectOnSessionTimeout)

        Indicates whether the client VPN session is disconnected after the maximum timeout specified in sessionTimeoutHours is reached. If true, users are prompted to reconnect client VPN. If false, client VPN attempts to reconnect automatically. The default value is false.

        Parameters:
        disconnectOnSessionTimeout - Indicates whether the client VPN session is disconnected after the maximum timeout specified in sessionTimeoutHours is reached. If true, users are prompted to reconnect client VPN. If false, client VPN attempts to reconnect automatically. The default value is false.
        Returns:
        Returns a reference to this object so that method calls can be chained together.