io.kubernetes.client.openapi.models.V1beta2PolicyRulesWithSubjectsFluent Maven / Gradle / Ivy
package io.kubernetes.client.openapi.models;
import io.kubernetes.client.fluent.VisitableBuilder;
import io.kubernetes.client.fluent.Fluent;
import io.kubernetes.client.fluent.Nested;
import java.util.ArrayList;
import java.util.function.Predicate;
import java.lang.Integer;
import java.lang.Deprecated;
import java.util.Iterator;
import java.util.Collection;
import java.util.List;
import java.lang.Boolean;
/**
* Generated
*/
public interface V1beta2PolicyRulesWithSubjectsFluent> extends Fluent{
public A addToNonResourceRules(Integer index,V1beta2NonResourcePolicyRule item);
public A setToNonResourceRules(Integer index,V1beta2NonResourcePolicyRule item);
public A addToNonResourceRules(io.kubernetes.client.openapi.models.V1beta2NonResourcePolicyRule... items);
public A addAllToNonResourceRules(Collection items);
public A removeFromNonResourceRules(io.kubernetes.client.openapi.models.V1beta2NonResourcePolicyRule... 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 V1beta2NonResourcePolicyRule buildNonResourceRule(Integer index);
public V1beta2NonResourcePolicyRule buildFirstNonResourceRule();
public V1beta2NonResourcePolicyRule buildLastNonResourceRule();
public V1beta2NonResourcePolicyRule buildMatchingNonResourceRule(Predicate predicate);
public Boolean hasMatchingNonResourceRule(Predicate predicate);
public A withNonResourceRules(List nonResourceRules);
public A withNonResourceRules(io.kubernetes.client.openapi.models.V1beta2NonResourcePolicyRule... nonResourceRules);
public Boolean hasNonResourceRules();
public V1beta2PolicyRulesWithSubjectsFluent.NonResourceRulesNested addNewNonResourceRule();
public V1beta2PolicyRulesWithSubjectsFluent.NonResourceRulesNested addNewNonResourceRuleLike(V1beta2NonResourcePolicyRule item);
public V1beta2PolicyRulesWithSubjectsFluent.NonResourceRulesNested setNewNonResourceRuleLike(Integer index,V1beta2NonResourcePolicyRule item);
public V1beta2PolicyRulesWithSubjectsFluent.NonResourceRulesNested editNonResourceRule(Integer index);
public V1beta2PolicyRulesWithSubjectsFluent.NonResourceRulesNested editFirstNonResourceRule();
public V1beta2PolicyRulesWithSubjectsFluent.NonResourceRulesNested editLastNonResourceRule();
public V1beta2PolicyRulesWithSubjectsFluent.NonResourceRulesNested editMatchingNonResourceRule(Predicate predicate);
public A addToResourceRules(Integer index,V1beta2ResourcePolicyRule item);
public A setToResourceRules(Integer index,V1beta2ResourcePolicyRule item);
public A addToResourceRules(io.kubernetes.client.openapi.models.V1beta2ResourcePolicyRule... items);
public A addAllToResourceRules(Collection items);
public A removeFromResourceRules(io.kubernetes.client.openapi.models.V1beta2ResourcePolicyRule... 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 V1beta2ResourcePolicyRule buildResourceRule(Integer index);
public V1beta2ResourcePolicyRule buildFirstResourceRule();
public V1beta2ResourcePolicyRule buildLastResourceRule();
public V1beta2ResourcePolicyRule buildMatchingResourceRule(Predicate predicate);
public Boolean hasMatchingResourceRule(Predicate predicate);
public A withResourceRules(List resourceRules);
public A withResourceRules(io.kubernetes.client.openapi.models.V1beta2ResourcePolicyRule... resourceRules);
public Boolean hasResourceRules();
public V1beta2PolicyRulesWithSubjectsFluent.ResourceRulesNested addNewResourceRule();
public V1beta2PolicyRulesWithSubjectsFluent.ResourceRulesNested addNewResourceRuleLike(V1beta2ResourcePolicyRule item);
public V1beta2PolicyRulesWithSubjectsFluent.ResourceRulesNested setNewResourceRuleLike(Integer index,V1beta2ResourcePolicyRule item);
public V1beta2PolicyRulesWithSubjectsFluent.ResourceRulesNested editResourceRule(Integer index);
public V1beta2PolicyRulesWithSubjectsFluent.ResourceRulesNested editFirstResourceRule();
public V1beta2PolicyRulesWithSubjectsFluent.ResourceRulesNested editLastResourceRule();
public V1beta2PolicyRulesWithSubjectsFluent.ResourceRulesNested editMatchingResourceRule(Predicate predicate);
public A addToSubjects(Integer index,V1beta2Subject item);
public A setToSubjects(Integer index,V1beta2Subject item);
public A addToSubjects(io.kubernetes.client.openapi.models.V1beta2Subject... items);
public A addAllToSubjects(Collection items);
public A removeFromSubjects(io.kubernetes.client.openapi.models.V1beta2Subject... 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 V1beta2Subject buildSubject(Integer index);
public V1beta2Subject buildFirstSubject();
public V1beta2Subject buildLastSubject();
public V1beta2Subject buildMatchingSubject(Predicate predicate);
public Boolean hasMatchingSubject(Predicate predicate);
public A withSubjects(List subjects);
public A withSubjects(io.kubernetes.client.openapi.models.V1beta2Subject... subjects);
public Boolean hasSubjects();
public V1beta2PolicyRulesWithSubjectsFluent.SubjectsNested addNewSubject();
public V1beta2PolicyRulesWithSubjectsFluent.SubjectsNested addNewSubjectLike(V1beta2Subject item);
public V1beta2PolicyRulesWithSubjectsFluent.SubjectsNested setNewSubjectLike(Integer index,V1beta2Subject item);
public V1beta2PolicyRulesWithSubjectsFluent.SubjectsNested editSubject(Integer index);
public V1beta2PolicyRulesWithSubjectsFluent.SubjectsNested editFirstSubject();
public V1beta2PolicyRulesWithSubjectsFluent.SubjectsNested editLastSubject();
public V1beta2PolicyRulesWithSubjectsFluent.SubjectsNested editMatchingSubject(Predicate predicate);
public interface NonResourceRulesNested extends Nested,V1beta2NonResourcePolicyRuleFluent>{
public N and();
public N endNonResourceRule();
}
public interface ResourceRulesNested extends Nested,V1beta2ResourcePolicyRuleFluent>{
public N and();
public N endResourceRule();
}
public interface SubjectsNested extends Nested,V1beta2SubjectFluent>{
public N and();
public N endSubject();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy