Class ServiceReference.Builder

  • Enclosing class:
    ServiceReference

    public static class ServiceReference.Builder
    extends java.lang.Object
    • Method Detail

      • name

        public ServiceReference.Builder name​(@NonNull
                                             @NonNull java.lang.String name)
        name is the name of the service. Required
        Returns:
        this.
      • namespace

        public ServiceReference.Builder namespace​(@NonNull
                                                  @NonNull java.lang.String namespace)
        namespace is the namespace of the service. Required
        Returns:
        this.
      • path

        public ServiceReference.Builder path​(java.lang.String path)
        path is an optional URL path at which the webhook will be contacted.
        Returns:
        this.
      • port

        public ServiceReference.Builder port​(java.lang.Number port)
        port is an optional service port at which the webhook will be contacted. `port` should be a valid port number (1-65535, inclusive). Defaults to 443 for backward compatibility.
        Returns:
        this.
      • toString

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