Interface ClientVpnConnection.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ClientVpnConnection.Builder,ClientVpnConnection>, SdkBuilder<ClientVpnConnection.Builder,ClientVpnConnection>, SdkPojo
Enclosing class:
ClientVpnConnection

public static interface ClientVpnConnection.Builder extends SdkPojo, CopyableBuilder<ClientVpnConnection.Builder,ClientVpnConnection>
  • Method Details

    • clientVpnEndpointId

      ClientVpnConnection.Builder clientVpnEndpointId(String clientVpnEndpointId)

      The ID of the Client VPN endpoint to which the client is connected.

      Parameters:
      clientVpnEndpointId - The ID of the Client VPN endpoint to which the client is connected.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • timestamp

      ClientVpnConnection.Builder timestamp(String timestamp)

      The current date and time.

      Parameters:
      timestamp - The current date and time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • connectionId

      ClientVpnConnection.Builder connectionId(String connectionId)

      The ID of the client connection.

      Parameters:
      connectionId - The ID of the client connection.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • username

      ClientVpnConnection.Builder username(String username)

      The username of the client who established the client connection. This information is only provided if Active Directory client authentication is used.

      Parameters:
      username - The username of the client who established the client connection. This information is only provided if Active Directory client authentication is used.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • connectionEstablishedTime

      ClientVpnConnection.Builder connectionEstablishedTime(String connectionEstablishedTime)

      The date and time the client connection was established.

      Parameters:
      connectionEstablishedTime - The date and time the client connection was established.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ingressBytes

      ClientVpnConnection.Builder ingressBytes(String ingressBytes)

      The number of bytes sent by the client.

      Parameters:
      ingressBytes - The number of bytes sent by the client.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • egressBytes

      ClientVpnConnection.Builder egressBytes(String egressBytes)

      The number of bytes received by the client.

      Parameters:
      egressBytes - The number of bytes received by the client.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ingressPackets

      ClientVpnConnection.Builder ingressPackets(String ingressPackets)

      The number of packets sent by the client.

      Parameters:
      ingressPackets - The number of packets sent by the client.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • egressPackets

      ClientVpnConnection.Builder egressPackets(String egressPackets)

      The number of packets received by the client.

      Parameters:
      egressPackets - The number of packets received by the client.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientIp

      ClientVpnConnection.Builder clientIp(String clientIp)

      The IP address of the client.

      Parameters:
      clientIp - The IP address of the client.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • commonName

      ClientVpnConnection.Builder commonName(String commonName)

      The common name associated with the client. This is either the name of the client certificate, or the Active Directory user name.

      Parameters:
      commonName - The common name associated with the client. This is either the name of the client certificate, or the Active Directory user name.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The current state of the client connection.

      Parameters:
      status - The current state of the client connection.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The current state of the client connection.

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

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

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

      ClientVpnConnection.Builder connectionEndTime(String connectionEndTime)

      The date and time the client connection was terminated.

      Parameters:
      connectionEndTime - The date and time the client connection was terminated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • postureComplianceStatuses

      ClientVpnConnection.Builder postureComplianceStatuses(Collection<String> postureComplianceStatuses)

      The statuses returned by the client connect handler for posture compliance, if applicable.

      Parameters:
      postureComplianceStatuses - The statuses returned by the client connect handler for posture compliance, if applicable.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • postureComplianceStatuses

      ClientVpnConnection.Builder postureComplianceStatuses(String... postureComplianceStatuses)

      The statuses returned by the client connect handler for posture compliance, if applicable.

      Parameters:
      postureComplianceStatuses - The statuses returned by the client connect handler for posture compliance, if applicable.
      Returns:
      Returns a reference to this object so that method calls can be chained together.