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

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

package io.kubernetes.client.openapi.models;

import io.kubernetes.client.fluent.VisitableBuilder;
import com.google.gson.annotations.SerializedName;
import io.kubernetes.client.fluent.Fluent;
import io.kubernetes.client.fluent.Nested;
import java.util.ArrayList;
import java.lang.String;
import java.util.function.Predicate;
import java.lang.Deprecated;
import java.util.Iterator;
import java.util.Collection;
import java.util.List;
import java.lang.Boolean;

 /**
  * Generated
  */
public interface V1ClusterRoleBindingFluent> extends Fluent{
  public String getApiVersion();
  public A withApiVersion(String apiVersion);
  public Boolean hasApiVersion();
  public String getKind();
  public A withKind(String kind);
  public Boolean hasKind();
  
  /**
   * This method has been deprecated, please use method buildMetadata instead.
   * @return The buildable object.
   */
  @Deprecated
  public V1ObjectMeta getMetadata();
  public V1ObjectMeta buildMetadata();
  public A withMetadata(V1ObjectMeta metadata);
  public Boolean hasMetadata();
  public V1ClusterRoleBindingFluent.MetadataNested withNewMetadata();
  public V1ClusterRoleBindingFluent.MetadataNested withNewMetadataLike(V1ObjectMeta item);
  public V1ClusterRoleBindingFluent.MetadataNested editMetadata();
  public V1ClusterRoleBindingFluent.MetadataNested editOrNewMetadata();
  public V1ClusterRoleBindingFluent.MetadataNested editOrNewMetadataLike(V1ObjectMeta item);
  
  /**
   * This method has been deprecated, please use method buildRoleRef instead.
   * @return The buildable object.
   */
  @Deprecated
  public V1RoleRef getRoleRef();
  public V1RoleRef buildRoleRef();
  public A withRoleRef(V1RoleRef roleRef);
  public Boolean hasRoleRef();
  public V1ClusterRoleBindingFluent.RoleRefNested withNewRoleRef();
  public V1ClusterRoleBindingFluent.RoleRefNested withNewRoleRefLike(V1RoleRef item);
  public V1ClusterRoleBindingFluent.RoleRefNested editRoleRef();
  public V1ClusterRoleBindingFluent.RoleRefNested editOrNewRoleRef();
  public V1ClusterRoleBindingFluent.RoleRefNested editOrNewRoleRefLike(V1RoleRef item);
  public A addToSubjects(int index,V1Subject item);
  public A setToSubjects(int index,V1Subject item);
  public A addToSubjects(io.kubernetes.client.openapi.models.V1Subject... items);
  public A addAllToSubjects(Collection items);
  public A removeFromSubjects(io.kubernetes.client.openapi.models.V1Subject... items);
  public A removeAllFromSubjects(Collection items);
  public A removeMatchingFromSubjects(Predicate predicate);
  
  /**
   * This method has been deprecated, please use method buildSubjects instead.
   * @return The buildable object.
   */
  @Deprecated
  public List getSubjects();
  public List buildSubjects();
  public V1Subject buildSubject(int index);
  public V1Subject buildFirstSubject();
  public V1Subject buildLastSubject();
  public V1Subject buildMatchingSubject(Predicate predicate);
  public Boolean hasMatchingSubject(Predicate predicate);
  public A withSubjects(List subjects);
  public A withSubjects(io.kubernetes.client.openapi.models.V1Subject... subjects);
  public Boolean hasSubjects();
  public V1ClusterRoleBindingFluent.SubjectsNested addNewSubject();
  public V1ClusterRoleBindingFluent.SubjectsNested addNewSubjectLike(V1Subject item);
  public V1ClusterRoleBindingFluent.SubjectsNested setNewSubjectLike(int index,V1Subject item);
  public V1ClusterRoleBindingFluent.SubjectsNested editSubject(int index);
  public V1ClusterRoleBindingFluent.SubjectsNested editFirstSubject();
  public V1ClusterRoleBindingFluent.SubjectsNested editLastSubject();
  public V1ClusterRoleBindingFluent.SubjectsNested editMatchingSubject(Predicate predicate);
  public interface MetadataNested extends Nested,V1ObjectMetaFluent>{
    public N and();
    public N endMetadata();
    
  }
  public interface RoleRefNested extends Nested,V1RoleRefFluent>{
    public N and();
    public N endRoleRef();
    
  }
  public interface SubjectsNested extends Nested,V1SubjectFluent>{
    public N and();
    public N endSubject();
    
  }
  
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy