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

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

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

  public Boolean hasApiVersion();

  public java.lang.String getGroupVersion();

  public A withGroupVersion(java.lang.String groupVersion);

  public java.lang.Boolean hasGroupVersion();

  public java.lang.String getKind();

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

  public java.lang.Boolean hasKind();

  public A addToResources(Integer index, V1APIResource item);

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

  public A addToResources(io.kubernetes.client.openapi.models.V1APIResource... items);

  public A addAllToResources(Collection items);

  public A removeFromResources(io.kubernetes.client.openapi.models.V1APIResource... items);

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

  public A removeMatchingFromResources(Predicate predicate);

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

  public java.util.List buildResources();

  public io.kubernetes.client.openapi.models.V1APIResource buildResource(java.lang.Integer index);

  public io.kubernetes.client.openapi.models.V1APIResource buildFirstResource();

  public io.kubernetes.client.openapi.models.V1APIResource buildLastResource();

  public io.kubernetes.client.openapi.models.V1APIResource buildMatchingResource(
      java.util.function.Predicate
          predicate);

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

  public A withResources(
      java.util.List resources);

  public A withResources(io.kubernetes.client.openapi.models.V1APIResource... resources);

  public java.lang.Boolean hasResources();

  public V1APIResourceListFluent.ResourcesNested addNewResource();

  public io.kubernetes.client.openapi.models.V1APIResourceListFluent.ResourcesNested
      addNewResourceLike(io.kubernetes.client.openapi.models.V1APIResource item);

  public io.kubernetes.client.openapi.models.V1APIResourceListFluent.ResourcesNested
      setNewResourceLike(
          java.lang.Integer index, io.kubernetes.client.openapi.models.V1APIResource item);

  public io.kubernetes.client.openapi.models.V1APIResourceListFluent.ResourcesNested
      editResource(java.lang.Integer index);

  public io.kubernetes.client.openapi.models.V1APIResourceListFluent.ResourcesNested
      editFirstResource();

  public io.kubernetes.client.openapi.models.V1APIResourceListFluent.ResourcesNested
      editLastResource();

  public io.kubernetes.client.openapi.models.V1APIResourceListFluent.ResourcesNested
      editMatchingResource(
          java.util.function.Predicate
              predicate);

  public interface ResourcesNested
      extends Nested, V1APIResourceFluent> {
    public N and();

    public N endResource();
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy