Interface ConnectionDetails.Builder

    • Method Detail

      • clientPublicKey

        ConnectionDetails.Builder clientPublicKey​(String clientPublicKey)

        The public key of the client.

        Parameters:
        clientPublicKey - The public key of the client.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • serverPublicKey

        ConnectionDetails.Builder serverPublicKey​(String serverPublicKey)

        The public key of the server.

        Parameters:
        serverPublicKey - The public key of the server.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • serverEndpoint

        ConnectionDetails.Builder serverEndpoint​(String serverEndpoint)

        The endpoint for the server.

        Parameters:
        serverEndpoint - The endpoint for the server.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clientTunnelAddress

        ConnectionDetails.Builder clientTunnelAddress​(String clientTunnelAddress)

        The client tunnel address.

        Parameters:
        clientTunnelAddress - The client tunnel address.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • serverTunnelAddress

        ConnectionDetails.Builder serverTunnelAddress​(String serverTunnelAddress)

        The server tunnel address.

        Parameters:
        serverTunnelAddress - The server tunnel address.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • allowedIps

        ConnectionDetails.Builder allowedIps​(Collection<String> allowedIps)

        The allowed IP addresses.

        Parameters:
        allowedIps - The allowed IP addresses.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • allowedIps

        ConnectionDetails.Builder allowedIps​(String... allowedIps)

        The allowed IP addresses.

        Parameters:
        allowedIps - The allowed IP addresses.
        Returns:
        Returns a reference to this object so that method calls can be chained together.