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

io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.PolicyRulesWithSubjectsFluent Maven / Gradle / Ivy

There is a newer version: 7.0.1
Show newest version
package io.fabric8.kubernetes.api.model.flowcontrol.v1beta1;

import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.fabric8.kubernetes.api.builder.Nested;
import java.util.ArrayList;
import java.lang.String;
import java.util.LinkedHashMap;
import java.util.function.Predicate;
import java.lang.Deprecated;
import java.util.Iterator;
import java.util.List;
import java.lang.Boolean;
import io.fabric8.kubernetes.api.builder.Fluent;
import java.lang.Integer;
import java.util.Collection;
import java.lang.Object;
import java.util.Map;

 /**
  * Generated
  */
public interface PolicyRulesWithSubjectsFluent> extends io.fabric8.kubernetes.api.builder.Fluent{
  public A addToNonResourceRules(java.lang.Integer index,io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.NonResourcePolicyRule item);
  public A setToNonResourceRules(java.lang.Integer index,io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.NonResourcePolicyRule item);
  public A addToNonResourceRules(io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.NonResourcePolicyRule... items);
  public A addAllToNonResourceRules(java.util.Collection items);
  public A removeFromNonResourceRules(io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.NonResourcePolicyRule... items);
  public A removeAllFromNonResourceRules(java.util.Collection items);
  public A removeMatchingFromNonResourceRules(java.util.function.Predicate predicate);
  
  /**
   * This method has been deprecated, please use method buildNonResourceRules instead.
   * @return The buildable object.
   */
  @java.lang.Deprecated
  public java.util.List getNonResourceRules();
  public java.util.List buildNonResourceRules();
  public io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.NonResourcePolicyRule buildNonResourceRule(java.lang.Integer index);
  public io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.NonResourcePolicyRule buildFirstNonResourceRule();
  public io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.NonResourcePolicyRule buildLastNonResourceRule();
  public io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.NonResourcePolicyRule buildMatchingNonResourceRule(java.util.function.Predicate predicate);
  public java.lang.Boolean hasMatchingNonResourceRule(java.util.function.Predicate predicate);
  public A withNonResourceRules(java.util.List nonResourceRules);
  public A withNonResourceRules(io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.NonResourcePolicyRule... nonResourceRules);
  public java.lang.Boolean hasNonResourceRules();
  public io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.PolicyRulesWithSubjectsFluent.NonResourceRulesNested addNewNonResourceRule();
  public io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.PolicyRulesWithSubjectsFluent.NonResourceRulesNested addNewNonResourceRuleLike(io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.NonResourcePolicyRule item);
  public io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.PolicyRulesWithSubjectsFluent.NonResourceRulesNested setNewNonResourceRuleLike(java.lang.Integer index,io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.NonResourcePolicyRule item);
  public io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.PolicyRulesWithSubjectsFluent.NonResourceRulesNested editNonResourceRule(java.lang.Integer index);
  public io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.PolicyRulesWithSubjectsFluent.NonResourceRulesNested editFirstNonResourceRule();
  public io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.PolicyRulesWithSubjectsFluent.NonResourceRulesNested editLastNonResourceRule();
  public io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.PolicyRulesWithSubjectsFluent.NonResourceRulesNested editMatchingNonResourceRule(java.util.function.Predicate predicate);
  public A addToResourceRules(java.lang.Integer index,io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.ResourcePolicyRule item);
  public A setToResourceRules(java.lang.Integer index,io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.ResourcePolicyRule item);
  public A addToResourceRules(io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.ResourcePolicyRule... items);
  public A addAllToResourceRules(java.util.Collection items);
  public A removeFromResourceRules(io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.ResourcePolicyRule... items);
  public A removeAllFromResourceRules(java.util.Collection items);
  public A removeMatchingFromResourceRules(java.util.function.Predicate predicate);
  
  /**
   * This method has been deprecated, please use method buildResourceRules instead.
   * @return The buildable object.
   */
  @java.lang.Deprecated
  public java.util.List getResourceRules();
  public java.util.List buildResourceRules();
  public io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.ResourcePolicyRule buildResourceRule(java.lang.Integer index);
  public io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.ResourcePolicyRule buildFirstResourceRule();
  public io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.ResourcePolicyRule buildLastResourceRule();
  public io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.ResourcePolicyRule buildMatchingResourceRule(java.util.function.Predicate predicate);
  public java.lang.Boolean hasMatchingResourceRule(java.util.function.Predicate predicate);
  public A withResourceRules(java.util.List resourceRules);
  public A withResourceRules(io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.ResourcePolicyRule... resourceRules);
  public java.lang.Boolean hasResourceRules();
  public io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.PolicyRulesWithSubjectsFluent.ResourceRulesNested addNewResourceRule();
  public io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.PolicyRulesWithSubjectsFluent.ResourceRulesNested addNewResourceRuleLike(io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.ResourcePolicyRule item);
  public io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.PolicyRulesWithSubjectsFluent.ResourceRulesNested setNewResourceRuleLike(java.lang.Integer index,io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.ResourcePolicyRule item);
  public io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.PolicyRulesWithSubjectsFluent.ResourceRulesNested editResourceRule(java.lang.Integer index);
  public io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.PolicyRulesWithSubjectsFluent.ResourceRulesNested editFirstResourceRule();
  public io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.PolicyRulesWithSubjectsFluent.ResourceRulesNested editLastResourceRule();
  public io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.PolicyRulesWithSubjectsFluent.ResourceRulesNested editMatchingResourceRule(java.util.function.Predicate predicate);
  public A addToSubjects(java.lang.Integer index,io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.Subject item);
  public A setToSubjects(java.lang.Integer index,io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.Subject item);
  public A addToSubjects(io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.Subject... items);
  public A addAllToSubjects(java.util.Collection items);
  public A removeFromSubjects(io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.Subject... items);
  public A removeAllFromSubjects(java.util.Collection items);
  public A removeMatchingFromSubjects(java.util.function.Predicate predicate);
  
  /**
   * This method has been deprecated, please use method buildSubjects instead.
   * @return The buildable object.
   */
  @java.lang.Deprecated
  public java.util.List getSubjects();
  public java.util.List buildSubjects();
  public io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.Subject buildSubject(java.lang.Integer index);
  public io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.Subject buildFirstSubject();
  public io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.Subject buildLastSubject();
  public io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.Subject buildMatchingSubject(java.util.function.Predicate predicate);
  public java.lang.Boolean hasMatchingSubject(java.util.function.Predicate predicate);
  public A withSubjects(java.util.List subjects);
  public A withSubjects(io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.Subject... subjects);
  public java.lang.Boolean hasSubjects();
  public io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.PolicyRulesWithSubjectsFluent.SubjectsNested addNewSubject();
  public io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.PolicyRulesWithSubjectsFluent.SubjectsNested addNewSubjectLike(io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.Subject item);
  public io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.PolicyRulesWithSubjectsFluent.SubjectsNested setNewSubjectLike(java.lang.Integer index,io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.Subject item);
  public io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.PolicyRulesWithSubjectsFluent.SubjectsNested editSubject(java.lang.Integer index);
  public io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.PolicyRulesWithSubjectsFluent.SubjectsNested editFirstSubject();
  public io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.PolicyRulesWithSubjectsFluent.SubjectsNested editLastSubject();
  public io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.PolicyRulesWithSubjectsFluent.SubjectsNested editMatchingSubject(java.util.function.Predicate predicate);
  public A addToAdditionalProperties(java.lang.String key,java.lang.Object value);
  public A addToAdditionalProperties(java.util.Map map);
  public A removeFromAdditionalProperties(java.lang.String key);
  public A removeFromAdditionalProperties(java.util.Map map);
  public java.util.Map getAdditionalProperties();
  public A withAdditionalProperties(java.util.Map additionalProperties);
  public java.lang.Boolean hasAdditionalProperties();
  public interface NonResourceRulesNested extends io.fabric8.kubernetes.api.builder.Nested,io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.NonResourcePolicyRuleFluent>{
    public N and();
    public N endNonResourceRule();
    
  }
  public interface ResourceRulesNested extends io.fabric8.kubernetes.api.builder.Nested,io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.ResourcePolicyRuleFluent>{
    public N and();
    public N endResourceRule();
    
  }
  public interface SubjectsNested extends io.fabric8.kubernetes.api.builder.Nested,io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.SubjectFluent>{
    public N and();
    public N endSubject();
    
  }
  
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy