Class IngressSpecArgs.Builder

  • Enclosing class:
    IngressSpecArgs

    public static final class IngressSpecArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • backend

        public IngressSpecArgs.Builder backend​(@Nullable
                                               com.pulumi.core.Output<IngressBackendArgs> backend)
        Parameters:
        backend - A default backend capable of servicing requests that don't match any rule. At least one of 'backend' or 'rules' must be specified. This field is optional to allow the loadbalancer controller or defaulting logic to specify a global default.
        Returns:
        builder
      • backend

        public IngressSpecArgs.Builder backend​(IngressBackendArgs backend)
        Parameters:
        backend - A default backend capable of servicing requests that don't match any rule. At least one of 'backend' or 'rules' must be specified. This field is optional to allow the loadbalancer controller or defaulting logic to specify a global default.
        Returns:
        builder
      • ingressClassName

        public IngressSpecArgs.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 IngressSpecArgs.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 IngressSpecArgs.Builder rules​(@Nullable
                                             com.pulumi.core.Output<java.util.List<IngressRuleArgs>> 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 IngressSpecArgs.Builder rules​(java.util.List<IngressRuleArgs> 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 IngressSpecArgs.Builder rules​(IngressRuleArgs... 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 IngressSpecArgs.Builder tls​(@Nullable
                                           com.pulumi.core.Output<java.util.List<IngressTLSArgs>> 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 IngressSpecArgs.Builder tls​(java.util.List<IngressTLSArgs> 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 IngressSpecArgs.Builder tls​(IngressTLSArgs... 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