Interface ClientVpnConnection.Builder

    • Method Detail

      • 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

        ClientVpnConnection.Builder status​(ClientVpnConnectionStatus 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.
      • 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.