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

io.kubernetes.client.openapi.models.V1beta3PolicyRulesWithSubjectsFluent 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.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 V1beta3PolicyRulesWithSubjectsFluent> extends Fluent{
  public A addToNonResourceRules(int index,V1beta3NonResourcePolicyRule item);
  public A setToNonResourceRules(int index,V1beta3NonResourcePolicyRule item);
  public A addToNonResourceRules(io.kubernetes.client.openapi.models.V1beta3NonResourcePolicyRule... items);
  public A addAllToNonResourceRules(Collection items);
  public A removeFromNonResourceRules(io.kubernetes.client.openapi.models.V1beta3NonResourcePolicyRule... items);
  public A removeAllFromNonResourceRules(Collection items);
  public A removeMatchingFromNonResourceRules(Predicate predicate);
  
  /**
   * This method has been deprecated, please use method buildNonResourceRules instead.
   * @return The buildable object.
   */
  @Deprecated
  public List getNonResourceRules();
  public List buildNonResourceRules();
  public V1beta3NonResourcePolicyRule buildNonResourceRule(int index);
  public V1beta3NonResourcePolicyRule buildFirstNonResourceRule();
  public V1beta3NonResourcePolicyRule buildLastNonResourceRule();
  public V1beta3NonResourcePolicyRule buildMatchingNonResourceRule(Predicate predicate);
  public Boolean hasMatchingNonResourceRule(Predicate predicate);
  public A withNonResourceRules(List nonResourceRules);
  public A withNonResourceRules(io.kubernetes.client.openapi.models.V1beta3NonResourcePolicyRule... nonResourceRules);
  public Boolean hasNonResourceRules();
  public V1beta3PolicyRulesWithSubjectsFluent.NonResourceRulesNested addNewNonResourceRule();
  public V1beta3PolicyRulesWithSubjectsFluent.NonResourceRulesNested addNewNonResourceRuleLike(V1beta3NonResourcePolicyRule item);
  public V1beta3PolicyRulesWithSubjectsFluent.NonResourceRulesNested setNewNonResourceRuleLike(int index,V1beta3NonResourcePolicyRule item);
  public V1beta3PolicyRulesWithSubjectsFluent.NonResourceRulesNested editNonResourceRule(int index);
  public V1beta3PolicyRulesWithSubjectsFluent.NonResourceRulesNested editFirstNonResourceRule();
  public V1beta3PolicyRulesWithSubjectsFluent.NonResourceRulesNested editLastNonResourceRule();
  public V1beta3PolicyRulesWithSubjectsFluent.NonResourceRulesNested editMatchingNonResourceRule(Predicate predicate);
  public A addToResourceRules(int index,V1beta3ResourcePolicyRule item);
  public A setToResourceRules(int index,V1beta3ResourcePolicyRule item);
  public A addToResourceRules(io.kubernetes.client.openapi.models.V1beta3ResourcePolicyRule... items);
  public A addAllToResourceRules(Collection items);
  public A removeFromResourceRules(io.kubernetes.client.openapi.models.V1beta3ResourcePolicyRule... items);
  public A removeAllFromResourceRules(Collection items);
  public A removeMatchingFromResourceRules(Predicate predicate);
  
  /**
   * This method has been deprecated, please use method buildResourceRules instead.
   * @return The buildable object.
   */
  @Deprecated
  public List getResourceRules();
  public List buildResourceRules();
  public V1beta3ResourcePolicyRule buildResourceRule(int index);
  public V1beta3ResourcePolicyRule buildFirstResourceRule();
  public V1beta3ResourcePolicyRule buildLastResourceRule();
  public V1beta3ResourcePolicyRule buildMatchingResourceRule(Predicate predicate);
  public Boolean hasMatchingResourceRule(Predicate predicate);
  public A withResourceRules(List resourceRules);
  public A withResourceRules(io.kubernetes.client.openapi.models.V1beta3ResourcePolicyRule... resourceRules);
  public Boolean hasResourceRules();
  public V1beta3PolicyRulesWithSubjectsFluent.ResourceRulesNested addNewResourceRule();
  public V1beta3PolicyRulesWithSubjectsFluent.ResourceRulesNested addNewResourceRuleLike(V1beta3ResourcePolicyRule item);
  public V1beta3PolicyRulesWithSubjectsFluent.ResourceRulesNested setNewResourceRuleLike(int index,V1beta3ResourcePolicyRule item);
  public V1beta3PolicyRulesWithSubjectsFluent.ResourceRulesNested editResourceRule(int index);
  public V1beta3PolicyRulesWithSubjectsFluent.ResourceRulesNested editFirstResourceRule();
  public V1beta3PolicyRulesWithSubjectsFluent.ResourceRulesNested editLastResourceRule();
  public V1beta3PolicyRulesWithSubjectsFluent.ResourceRulesNested editMatchingResourceRule(Predicate predicate);
  public A addToSubjects(int index,V1beta3Subject item);
  public A setToSubjects(int index,V1beta3Subject item);
  public A addToSubjects(io.kubernetes.client.openapi.models.V1beta3Subject... items);
  public A addAllToSubjects(Collection items);
  public A removeFromSubjects(io.kubernetes.client.openapi.models.V1beta3Subject... 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 V1beta3Subject buildSubject(int index);
  public V1beta3Subject buildFirstSubject();
  public V1beta3Subject buildLastSubject();
  public V1beta3Subject buildMatchingSubject(Predicate predicate);
  public Boolean hasMatchingSubject(Predicate predicate);
  public A withSubjects(List subjects);
  public A withSubjects(io.kubernetes.client.openapi.models.V1beta3Subject... subjects);
  public Boolean hasSubjects();
  public V1beta3PolicyRulesWithSubjectsFluent.SubjectsNested addNewSubject();
  public V1beta3PolicyRulesWithSubjectsFluent.SubjectsNested addNewSubjectLike(V1beta3Subject item);
  public V1beta3PolicyRulesWithSubjectsFluent.SubjectsNested setNewSubjectLike(int index,V1beta3Subject item);
  public V1beta3PolicyRulesWithSubjectsFluent.SubjectsNested editSubject(int index);
  public V1beta3PolicyRulesWithSubjectsFluent.SubjectsNested editFirstSubject();
  public V1beta3PolicyRulesWithSubjectsFluent.SubjectsNested editLastSubject();
  public V1beta3PolicyRulesWithSubjectsFluent.SubjectsNested editMatchingSubject(Predicate predicate);
  public interface NonResourceRulesNested extends Nested,V1beta3NonResourcePolicyRuleFluent>{
    public N and();
    public N endNonResourceRule();
    
  }
  public interface ResourceRulesNested extends Nested,V1beta3ResourcePolicyRuleFluent>{
    public N and();
    public N endResourceRule();
    
  }
  public interface SubjectsNested extends Nested,V1beta3SubjectFluent>{
    public N and();
    public N endSubject();
    
  }
  
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy