Class IngressSpecPatchArgs.Builder

  • Enclosing class:
    IngressSpecPatchArgs

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

      • defaultBackend

        public IngressSpecPatchArgs.Builder defaultBackend​(@Nullable
                                                           com.pulumi.core.Output<IngressBackendPatchArgs> defaultBackend)
        Parameters:
        defaultBackend - DefaultBackend is the backend that should handle requests that don't match any rule. If Rules are not specified, DefaultBackend must be specified. If DefaultBackend is not set, the handling of requests that do not match any of the rules will be up to the Ingress controller.
        Returns:
        builder
      • defaultBackend

        public IngressSpecPatchArgs.Builder defaultBackend​(IngressBackendPatchArgs defaultBackend)
        Parameters:
        defaultBackend - DefaultBackend is the backend that should handle requests that don't match any rule. If Rules are not specified, DefaultBackend must be specified. If DefaultBackend is not set, the handling of requests that do not match any of the rules will be up to the Ingress controller.
        Returns:
        builder
      • ingressClassName

        public IngressSpecPatchArgs.Builder ingressClassName​(@Nullable
                                                             com.pulumi.core.Output<java.lang.String> ingressClassName)
        Parameters:
        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:
        builder
      • ingressClassName

        public IngressSpecPatchArgs.Builder ingressClassName​(java.lang.String ingressClassName)
        Parameters:
        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:
        builder
      • rules

        public IngressSpecPatchArgs.Builder rules​(@Nullable
                                                  com.pulumi.core.Output<java.util.List<IngressRulePatchArgs>> rules)
        Parameters:
        rules - A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend.
        Returns:
        builder
      • rules

        public IngressSpecPatchArgs.Builder rules​(java.util.List<IngressRulePatchArgs> rules)
        Parameters:
        rules - A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend.
        Returns:
        builder
      • rules

        public IngressSpecPatchArgs.Builder rules​(IngressRulePatchArgs... rules)
        Parameters:
        rules - A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend.
        Returns:
        builder
      • tls

        public IngressSpecPatchArgs.Builder tls​(@Nullable
                                                com.pulumi.core.Output<java.util.List<IngressTLSPatchArgs>> tls)
        Parameters:
        tls - TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI.
        Returns:
        builder
      • tls

        public IngressSpecPatchArgs.Builder tls​(java.util.List<IngressTLSPatchArgs> tls)
        Parameters:
        tls - TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI.
        Returns:
        builder
      • tls

        public IngressSpecPatchArgs.Builder tls​(IngressTLSPatchArgs... tls)
        Parameters:
        tls - TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI.
        Returns:
        builder