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

io.kubernetes.client.openapi.models.V1APIVersionsFluent 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 V1APIVersionsFluent> extends Fluent {
  public String getApiVersion();

  public A withApiVersion(java.lang.String apiVersion);

  public Boolean hasApiVersion();

  public java.lang.String getKind();

  public A withKind(java.lang.String kind);

  public java.lang.Boolean hasKind();

  public A addToServerAddressByClientCIDRs(Integer index, V1ServerAddressByClientCIDR item);

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

  public A addToServerAddressByClientCIDRs(
      io.kubernetes.client.openapi.models.V1ServerAddressByClientCIDR... items);

  public A addAllToServerAddressByClientCIDRs(
      Collection items);

  public A removeFromServerAddressByClientCIDRs(
      io.kubernetes.client.openapi.models.V1ServerAddressByClientCIDR... items);

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

  public A removeMatchingFromServerAddressByClientCIDRs(
      Predicate predicate);

  /**
   * This method has been deprecated, please use method buildServerAddressByClientCIDRs instead.
   *
   * @return The buildable object.
   */
  @Deprecated
  public List
      getServerAddressByClientCIDRs();

  public java.util.List
      buildServerAddressByClientCIDRs();

  public io.kubernetes.client.openapi.models.V1ServerAddressByClientCIDR
      buildServerAddressByClientCIDR(java.lang.Integer index);

  public io.kubernetes.client.openapi.models.V1ServerAddressByClientCIDR
      buildFirstServerAddressByClientCIDR();

  public io.kubernetes.client.openapi.models.V1ServerAddressByClientCIDR
      buildLastServerAddressByClientCIDR();

  public io.kubernetes.client.openapi.models.V1ServerAddressByClientCIDR
      buildMatchingServerAddressByClientCIDR(
          java.util.function.Predicate<
                  io.kubernetes.client.openapi.models.V1ServerAddressByClientCIDRBuilder>
              predicate);

  public java.lang.Boolean hasMatchingServerAddressByClientCIDR(
      java.util.function.Predicate<
              io.kubernetes.client.openapi.models.V1ServerAddressByClientCIDRBuilder>
          predicate);

  public A withServerAddressByClientCIDRs(
      java.util.List
          serverAddressByClientCIDRs);

  public A withServerAddressByClientCIDRs(
      io.kubernetes.client.openapi.models.V1ServerAddressByClientCIDR...
          serverAddressByClientCIDRs);

  public java.lang.Boolean hasServerAddressByClientCIDRs();

  public V1APIVersionsFluent.ServerAddressByClientCIDRsNested addNewServerAddressByClientCIDR();

  public io.kubernetes.client.openapi.models.V1APIVersionsFluent.ServerAddressByClientCIDRsNested
      addNewServerAddressByClientCIDRLike(
          io.kubernetes.client.openapi.models.V1ServerAddressByClientCIDR item);

  public io.kubernetes.client.openapi.models.V1APIVersionsFluent.ServerAddressByClientCIDRsNested
      setNewServerAddressByClientCIDRLike(
          java.lang.Integer index,
          io.kubernetes.client.openapi.models.V1ServerAddressByClientCIDR item);

  public io.kubernetes.client.openapi.models.V1APIVersionsFluent.ServerAddressByClientCIDRsNested
      editServerAddressByClientCIDR(java.lang.Integer index);

  public io.kubernetes.client.openapi.models.V1APIVersionsFluent.ServerAddressByClientCIDRsNested
      editFirstServerAddressByClientCIDR();

  public io.kubernetes.client.openapi.models.V1APIVersionsFluent.ServerAddressByClientCIDRsNested
      editLastServerAddressByClientCIDR();

  public io.kubernetes.client.openapi.models.V1APIVersionsFluent.ServerAddressByClientCIDRsNested
      editMatchingServerAddressByClientCIDR(
          java.util.function.Predicate<
                  io.kubernetes.client.openapi.models.V1ServerAddressByClientCIDRBuilder>
              predicate);

  public A addToVersions(java.lang.Integer index, java.lang.String item);

  public A setToVersions(java.lang.Integer index, java.lang.String item);

  public A addToVersions(java.lang.String... items);

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

  public A removeFromVersions(java.lang.String... items);

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

  public java.util.List getVersions();

  public java.lang.String getVersion(java.lang.Integer index);

  public java.lang.String getFirstVersion();

  public java.lang.String getLastVersion();

  public java.lang.String getMatchingVersion(
      java.util.function.Predicate predicate);

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

  public A withVersions(java.util.List versions);

  public A withVersions(java.lang.String... versions);

  public java.lang.Boolean hasVersions();

  public interface ServerAddressByClientCIDRsNested
      extends Nested,
          V1ServerAddressByClientCIDRFluent<
              V1APIVersionsFluent.ServerAddressByClientCIDRsNested> {
    public N and();

    public N endServerAddressByClientCIDR();
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy