Class ServerAddressByClientCIDR.Builder

    • Method Detail

      • clientCIDR

        public ServerAddressByClientCIDR.Builder clientCIDR​(@NonNull
                                                            @NonNull java.lang.String clientCIDR)
        The CIDR with which clients can match their IP to figure out the server address that they should use.
        Returns:
        this.
      • serverAddress

        public ServerAddressByClientCIDR.Builder serverAddress​(@NonNull
                                                               @NonNull java.lang.String serverAddress)
        Address of this server, suitable for a client that matches the above CIDR. This can be a hostname, hostname:port, IP or IP:port.
        Returns:
        this.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object