Interface ModifyClientVpnEndpointRequest.Builder

  • Method Details

    • 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.
    • connectionLogOptions

      default ModifyClientVpnEndpointRequest.Builder connectionLogOptions(Consumer<ConnectionLogOptions.Builder> 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

      This is a convenience method that creates an instance of the ConnectionLogOptions.Builder avoiding the need to create one manually via ConnectionLogOptions.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to connectionLogOptions(ConnectionLogOptions).

      Parameters:
      connectionLogOptions - a consumer that will call methods on ConnectionLogOptions.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.
    • dnsServers

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

      This is a convenience method that creates an instance of the DnsServersOptionsModifyStructure.Builder avoiding the need to create one manually via DnsServersOptionsModifyStructure.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to dnsServers(DnsServersOptionsModifyStructure).

      Parameters:
      dnsServers - a consumer that will call methods on DnsServersOptionsModifyStructure.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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

      Indicates whether the VPN is split-tunnel.

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

      Parameters:
      splitTunnel - Indicates whether the VPN is split-tunnel.

      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

      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

      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

      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:
    • 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.
    • clientConnectOptions

      default ModifyClientVpnEndpointRequest.Builder clientConnectOptions(Consumer<ClientConnectOptions.Builder> clientConnectOptions)

      The options for managing connection authorization for new client connections.

      This is a convenience method that creates an instance of the ClientConnectOptions.Builder avoiding the need to create one manually via ClientConnectOptions.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to clientConnectOptions(ClientConnectOptions).

      Parameters:
      clientConnectOptions - a consumer that will call methods on ClientConnectOptions.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.
    • clientLoginBannerOptions

      default ModifyClientVpnEndpointRequest.Builder clientLoginBannerOptions(Consumer<ClientLoginBannerOptions.Builder> clientLoginBannerOptions)

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

      This is a convenience method that creates an instance of the ClientLoginBannerOptions.Builder avoiding the need to create one manually via ClientLoginBannerOptions.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to clientLoginBannerOptions(ClientLoginBannerOptions).

      Parameters:
      clientLoginBannerOptions - a consumer that will call methods on ClientLoginBannerOptions.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • clientRouteEnforcementOptions

      ModifyClientVpnEndpointRequest.Builder clientRouteEnforcementOptions(ClientRouteEnforcementOptions clientRouteEnforcementOptions)

      Client route enforcement is a feature of the Client VPN service that helps enforce administrator defined routes on devices connected through the VPN. T his feature helps improve your security posture by ensuring that network traffic originating from a connected client is not inadvertently sent outside the VPN tunnel.

      Client route enforcement works by monitoring the route table of a connected device for routing policy changes to the VPN connection. If the feature detects any VPN routing policy modifications, it will automatically force an update to the route table, reverting it back to the expected route configurations.

      Parameters:
      clientRouteEnforcementOptions - Client route enforcement is a feature of the Client VPN service that helps enforce administrator defined routes on devices connected through the VPN. T his feature helps improve your security posture by ensuring that network traffic originating from a connected client is not inadvertently sent outside the VPN tunnel.

      Client route enforcement works by monitoring the route table of a connected device for routing policy changes to the VPN connection. If the feature detects any VPN routing policy modifications, it will automatically force an update to the route table, reverting it back to the expected route configurations.

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

      default ModifyClientVpnEndpointRequest.Builder clientRouteEnforcementOptions(Consumer<ClientRouteEnforcementOptions.Builder> clientRouteEnforcementOptions)

      Client route enforcement is a feature of the Client VPN service that helps enforce administrator defined routes on devices connected through the VPN. T his feature helps improve your security posture by ensuring that network traffic originating from a connected client is not inadvertently sent outside the VPN tunnel.

      Client route enforcement works by monitoring the route table of a connected device for routing policy changes to the VPN connection. If the feature detects any VPN routing policy modifications, it will automatically force an update to the route table, reverting it back to the expected route configurations.

      This is a convenience method that creates an instance of the ClientRouteEnforcementOptions.Builder avoiding the need to create one manually via ClientRouteEnforcementOptions.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to clientRouteEnforcementOptions(ClientRouteEnforcementOptions).

      Parameters:
      clientRouteEnforcementOptions - a consumer that will call methods on ClientRouteEnforcementOptions.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 true.

      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 true.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      ModifyClientVpnEndpointRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.