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

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

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

  public Boolean hasApiVersion();

  public A addToItems(Integer index, io.kubernetes.client.openapi.models.V1Role item);

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

  public A addToItems(io.kubernetes.client.openapi.models.V1Role... items);

  public A addAllToItems(Collection items);

  public A removeFromItems(io.kubernetes.client.openapi.models.V1Role... items);

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

  public A removeMatchingFromItems(Predicate predicate);

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

  public java.util.List buildItems();

  public io.kubernetes.client.openapi.models.V1Role buildItem(java.lang.Integer index);

  public io.kubernetes.client.openapi.models.V1Role buildFirstItem();

  public io.kubernetes.client.openapi.models.V1Role buildLastItem();

  public io.kubernetes.client.openapi.models.V1Role buildMatchingItem(
      java.util.function.Predicate predicate);

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

  public A withItems(java.util.List items);

  public A withItems(io.kubernetes.client.openapi.models.V1Role... items);

  public java.lang.Boolean hasItems();

  public V1RoleListFluent.ItemsNested addNewItem();

  public V1RoleListFluent.ItemsNested addNewItemLike(
      io.kubernetes.client.openapi.models.V1Role item);

  public io.kubernetes.client.openapi.models.V1RoleListFluent.ItemsNested setNewItemLike(
      java.lang.Integer index, io.kubernetes.client.openapi.models.V1Role item);

  public io.kubernetes.client.openapi.models.V1RoleListFluent.ItemsNested editItem(
      java.lang.Integer index);

  public io.kubernetes.client.openapi.models.V1RoleListFluent.ItemsNested editFirstItem();

  public io.kubernetes.client.openapi.models.V1RoleListFluent.ItemsNested editLastItem();

  public io.kubernetes.client.openapi.models.V1RoleListFluent.ItemsNested editMatchingItem(
      java.util.function.Predicate predicate);

  public java.lang.String getKind();

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

  public java.lang.Boolean hasKind();

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

  public io.kubernetes.client.openapi.models.V1ListMeta buildMetadata();

  public A withMetadata(io.kubernetes.client.openapi.models.V1ListMeta metadata);

  public java.lang.Boolean hasMetadata();

  public V1RoleListFluent.MetadataNested withNewMetadata();

  public io.kubernetes.client.openapi.models.V1RoleListFluent.MetadataNested withNewMetadataLike(
      io.kubernetes.client.openapi.models.V1ListMeta item);

  public io.kubernetes.client.openapi.models.V1RoleListFluent.MetadataNested editMetadata();

  public io.kubernetes.client.openapi.models.V1RoleListFluent.MetadataNested editOrNewMetadata();

  public io.kubernetes.client.openapi.models.V1RoleListFluent.MetadataNested
      editOrNewMetadataLike(io.kubernetes.client.openapi.models.V1ListMeta item);

  public interface ItemsNested extends Nested, V1RoleFluent> {
    public N and();

    public N endItem();
  }

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

    public N endMetadata();
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy