Class IngressV1Beta1Props.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • rules

        @Stability(Stable)
        public IngressV1Beta1Props.Builder rules​(List<? extends IngressV1Beta1Rule> rules)
        Parameters:
        rules - Routing rules for this ingress. Each rule must define an IngressBackend that will receive the requests that match this rule. If both host and path are not specifiec, this backend will be used as the default backend of the ingress.

        You can also add rules later using addRule(), addHostRule(), addDefaultBackend() and addHostDefaultBackend().

        Returns:
        this
      • tls

        @Stability(Stable)
        public IngressV1Beta1Props.Builder tls​(List<? extends IngressV1Beta1Tls> tls)
        Parameters:
        tls - TLS settings for this ingress. Using this option tells the ingress controller to expose a TLS endpoint. 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:
        this
      • metadata

        @Stability(Stable)
        public IngressV1Beta1Props.Builder metadata​(org.cdk8s.ApiObjectMetadata metadata)
        Sets the value of ResourceProps.getMetadata()
        Parameters:
        metadata - Metadata that all persisted resources must have, which includes all objects users must create.
        Returns:
        this