Class IngressSpec.Builder

  • Enclosing class:
    IngressSpec

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

      • ingressClassName

        public IngressSpec.Builder ingressClassName​(java.lang.String ingressClassName)
        IngressClassName is the name of the IngressClass cluster resource. The associated IngressClass defines which controller will implement the resource. This replaces the deprecated `kubernetes.io/ingress.class` annotation. For backwards compatibility, when that annotation is set, it must be given precedence over this field. The controller may emit a warning if the field and annotation have different values. Implementations of this API should ignore Ingresses without a class specified. An IngressClass resource may be marked as default, which can be used to set a default value for this field. For more information, refer to the IngressClass documentation.
        Returns:
        this.
      • toString

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