All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.kubernetes.client.openapi.models.V1IngressSpecFluent Maven / Gradle / Ivy

There is a newer version: 22.0.0
Show newest version
/*
Copyright 2022 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package io.kubernetes.client.openapi.models;

import io.kubernetes.client.fluent.Fluent;
import io.kubernetes.client.fluent.Nested;
import java.util.Collection;
import java.util.List;
import java.util.function.Predicate;

/** Generated */
public interface V1IngressSpecFluent> extends Fluent {

  /**
   * This method has been deprecated, please use method buildDefaultBackend instead.
   *
   * @return The buildable object.
   */
  @Deprecated
  public V1IngressBackend getDefaultBackend();

  public io.kubernetes.client.openapi.models.V1IngressBackend buildDefaultBackend();

  public A withDefaultBackend(io.kubernetes.client.openapi.models.V1IngressBackend defaultBackend);

  public Boolean hasDefaultBackend();

  public V1IngressSpecFluent.DefaultBackendNested withNewDefaultBackend();

  public io.kubernetes.client.openapi.models.V1IngressSpecFluent.DefaultBackendNested
      withNewDefaultBackendLike(io.kubernetes.client.openapi.models.V1IngressBackend item);

  public io.kubernetes.client.openapi.models.V1IngressSpecFluent.DefaultBackendNested
      editDefaultBackend();

  public io.kubernetes.client.openapi.models.V1IngressSpecFluent.DefaultBackendNested
      editOrNewDefaultBackend();

  public io.kubernetes.client.openapi.models.V1IngressSpecFluent.DefaultBackendNested
      editOrNewDefaultBackendLike(io.kubernetes.client.openapi.models.V1IngressBackend item);

  public String getIngressClassName();

  public A withIngressClassName(java.lang.String ingressClassName);

  public java.lang.Boolean hasIngressClassName();

  public A addToRules(Integer index, V1IngressRule item);

  public A setToRules(
      java.lang.Integer index, io.kubernetes.client.openapi.models.V1IngressRule item);

  public A addToRules(io.kubernetes.client.openapi.models.V1IngressRule... items);

  public A addAllToRules(Collection items);

  public A removeFromRules(io.kubernetes.client.openapi.models.V1IngressRule... items);

  public A removeAllFromRules(
      java.util.Collection items);

  public A removeMatchingFromRules(Predicate predicate);

  /**
   * This method has been deprecated, please use method buildRules instead.
   *
   * @return The buildable object.
   */
  @java.lang.Deprecated
  public List getRules();

  public java.util.List buildRules();

  public io.kubernetes.client.openapi.models.V1IngressRule buildRule(java.lang.Integer index);

  public io.kubernetes.client.openapi.models.V1IngressRule buildFirstRule();

  public io.kubernetes.client.openapi.models.V1IngressRule buildLastRule();

  public io.kubernetes.client.openapi.models.V1IngressRule buildMatchingRule(
      java.util.function.Predicate
          predicate);

  public java.lang.Boolean hasMatchingRule(
      java.util.function.Predicate
          predicate);

  public A withRules(java.util.List rules);

  public A withRules(io.kubernetes.client.openapi.models.V1IngressRule... rules);

  public java.lang.Boolean hasRules();

  public V1IngressSpecFluent.RulesNested addNewRule();

  public io.kubernetes.client.openapi.models.V1IngressSpecFluent.RulesNested addNewRuleLike(
      io.kubernetes.client.openapi.models.V1IngressRule item);

  public io.kubernetes.client.openapi.models.V1IngressSpecFluent.RulesNested setNewRuleLike(
      java.lang.Integer index, io.kubernetes.client.openapi.models.V1IngressRule item);

  public io.kubernetes.client.openapi.models.V1IngressSpecFluent.RulesNested editRule(
      java.lang.Integer index);

  public io.kubernetes.client.openapi.models.V1IngressSpecFluent.RulesNested editFirstRule();

  public io.kubernetes.client.openapi.models.V1IngressSpecFluent.RulesNested editLastRule();

  public io.kubernetes.client.openapi.models.V1IngressSpecFluent.RulesNested editMatchingRule(
      java.util.function.Predicate
          predicate);

  public A addToTls(java.lang.Integer index, V1IngressTLS item);

  public A setToTls(java.lang.Integer index, io.kubernetes.client.openapi.models.V1IngressTLS item);

  public A addToTls(io.kubernetes.client.openapi.models.V1IngressTLS... items);

  public A addAllToTls(
      java.util.Collection items);

  public A removeFromTls(io.kubernetes.client.openapi.models.V1IngressTLS... items);

  public A removeAllFromTls(
      java.util.Collection items);

  public A removeMatchingFromTls(java.util.function.Predicate predicate);

  /**
   * This method has been deprecated, please use method buildTls instead.
   *
   * @return The buildable object.
   */
  @java.lang.Deprecated
  public java.util.List getTls();

  public java.util.List buildTls();

  public io.kubernetes.client.openapi.models.V1IngressTLS buildTl(java.lang.Integer index);

  public io.kubernetes.client.openapi.models.V1IngressTLS buildFirstTl();

  public io.kubernetes.client.openapi.models.V1IngressTLS buildLastTl();

  public io.kubernetes.client.openapi.models.V1IngressTLS buildMatchingTl(
      java.util.function.Predicate
          predicate);

  public java.lang.Boolean hasMatchingTl(
      java.util.function.Predicate
          predicate);

  public A withTls(java.util.List tls);

  public A withTls(io.kubernetes.client.openapi.models.V1IngressTLS... tls);

  public java.lang.Boolean hasTls();

  public V1IngressSpecFluent.TlsNested addNewTl();

  public io.kubernetes.client.openapi.models.V1IngressSpecFluent.TlsNested addNewTlLike(
      io.kubernetes.client.openapi.models.V1IngressTLS item);

  public io.kubernetes.client.openapi.models.V1IngressSpecFluent.TlsNested setNewTlLike(
      java.lang.Integer index, io.kubernetes.client.openapi.models.V1IngressTLS item);

  public io.kubernetes.client.openapi.models.V1IngressSpecFluent.TlsNested editTl(
      java.lang.Integer index);

  public io.kubernetes.client.openapi.models.V1IngressSpecFluent.TlsNested editFirstTl();

  public io.kubernetes.client.openapi.models.V1IngressSpecFluent.TlsNested editLastTl();

  public io.kubernetes.client.openapi.models.V1IngressSpecFluent.TlsNested editMatchingTl(
      java.util.function.Predicate
          predicate);

  public interface DefaultBackendNested
      extends Nested, V1IngressBackendFluent> {
    public N and();

    public N endDefaultBackend();
  }

  public interface RulesNested
      extends io.kubernetes.client.fluent.Nested,
          V1IngressRuleFluent> {
    public N and();

    public N endRule();
  }

  public interface TlsNested
      extends io.kubernetes.client.fluent.Nested,
          V1IngressTLSFluent> {
    public N and();

    public N endTl();
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy