public class V1alpha1PolicyRulesWithSubjectsFluentImpl<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>> extends BaseFluent<A> implements V1alpha1PolicyRulesWithSubjectsFluent<A>
Modifier and Type | Class and Description |
---|---|
class |
V1alpha1PolicyRulesWithSubjectsFluentImpl.NonResourceRulesNestedImpl<N> |
class |
V1alpha1PolicyRulesWithSubjectsFluentImpl.ResourceRulesNestedImpl<N> |
class |
V1alpha1PolicyRulesWithSubjectsFluentImpl.SubjectsNestedImpl<N> |
V1alpha1PolicyRulesWithSubjectsFluent.NonResourceRulesNested<N>, V1alpha1PolicyRulesWithSubjectsFluent.ResourceRulesNested<N>, V1alpha1PolicyRulesWithSubjectsFluent.SubjectsNested<N>
_visitables
Constructor and Description |
---|
V1alpha1PolicyRulesWithSubjectsFluentImpl() |
V1alpha1PolicyRulesWithSubjectsFluentImpl(V1alpha1PolicyRulesWithSubjects instance) |
public V1alpha1PolicyRulesWithSubjectsFluentImpl()
public V1alpha1PolicyRulesWithSubjectsFluentImpl(V1alpha1PolicyRulesWithSubjects instance)
public A addToNonResourceRules(int index, V1alpha1NonResourcePolicyRule item)
addToNonResourceRules
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public A setToNonResourceRules(int index, V1alpha1NonResourcePolicyRule item)
setToNonResourceRules
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public A addToNonResourceRules(V1alpha1NonResourcePolicyRule... items)
addToNonResourceRules
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public A addAllToNonResourceRules(Collection<V1alpha1NonResourcePolicyRule> items)
addAllToNonResourceRules
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public A removeFromNonResourceRules(V1alpha1NonResourcePolicyRule... items)
removeFromNonResourceRules
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public A removeAllFromNonResourceRules(Collection<V1alpha1NonResourcePolicyRule> items)
removeAllFromNonResourceRules
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public A removeMatchingFromNonResourceRules(Predicate<V1alpha1NonResourcePolicyRuleBuilder> predicate)
removeMatchingFromNonResourceRules
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
@Deprecated public List<V1alpha1NonResourcePolicyRule> getNonResourceRules()
getNonResourceRules
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public List<V1alpha1NonResourcePolicyRule> buildNonResourceRules()
buildNonResourceRules
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public V1alpha1NonResourcePolicyRule buildNonResourceRule(int index)
buildNonResourceRule
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public V1alpha1NonResourcePolicyRule buildFirstNonResourceRule()
buildFirstNonResourceRule
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public V1alpha1NonResourcePolicyRule buildLastNonResourceRule()
buildLastNonResourceRule
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public V1alpha1NonResourcePolicyRule buildMatchingNonResourceRule(Predicate<V1alpha1NonResourcePolicyRuleBuilder> predicate)
buildMatchingNonResourceRule
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public Boolean hasMatchingNonResourceRule(Predicate<V1alpha1NonResourcePolicyRuleBuilder> predicate)
hasMatchingNonResourceRule
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public A withNonResourceRules(List<V1alpha1NonResourcePolicyRule> nonResourceRules)
withNonResourceRules
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public A withNonResourceRules(V1alpha1NonResourcePolicyRule... nonResourceRules)
withNonResourceRules
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public Boolean hasNonResourceRules()
hasNonResourceRules
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public V1alpha1PolicyRulesWithSubjectsFluent.NonResourceRulesNested<A> addNewNonResourceRule()
addNewNonResourceRule
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public V1alpha1PolicyRulesWithSubjectsFluent.NonResourceRulesNested<A> addNewNonResourceRuleLike(V1alpha1NonResourcePolicyRule item)
addNewNonResourceRuleLike
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public V1alpha1PolicyRulesWithSubjectsFluent.NonResourceRulesNested<A> setNewNonResourceRuleLike(int index, V1alpha1NonResourcePolicyRule item)
setNewNonResourceRuleLike
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public V1alpha1PolicyRulesWithSubjectsFluent.NonResourceRulesNested<A> editNonResourceRule(int index)
editNonResourceRule
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public V1alpha1PolicyRulesWithSubjectsFluent.NonResourceRulesNested<A> editFirstNonResourceRule()
editFirstNonResourceRule
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public V1alpha1PolicyRulesWithSubjectsFluent.NonResourceRulesNested<A> editLastNonResourceRule()
editLastNonResourceRule
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public V1alpha1PolicyRulesWithSubjectsFluent.NonResourceRulesNested<A> editMatchingNonResourceRule(Predicate<V1alpha1NonResourcePolicyRuleBuilder> predicate)
editMatchingNonResourceRule
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public A addToResourceRules(int index, V1alpha1ResourcePolicyRule item)
addToResourceRules
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public A setToResourceRules(int index, V1alpha1ResourcePolicyRule item)
setToResourceRules
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public A addToResourceRules(V1alpha1ResourcePolicyRule... items)
addToResourceRules
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public A addAllToResourceRules(Collection<V1alpha1ResourcePolicyRule> items)
addAllToResourceRules
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public A removeFromResourceRules(V1alpha1ResourcePolicyRule... items)
removeFromResourceRules
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public A removeAllFromResourceRules(Collection<V1alpha1ResourcePolicyRule> items)
removeAllFromResourceRules
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public A removeMatchingFromResourceRules(Predicate<V1alpha1ResourcePolicyRuleBuilder> predicate)
removeMatchingFromResourceRules
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
@Deprecated public List<V1alpha1ResourcePolicyRule> getResourceRules()
getResourceRules
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public List<V1alpha1ResourcePolicyRule> buildResourceRules()
buildResourceRules
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public V1alpha1ResourcePolicyRule buildResourceRule(int index)
buildResourceRule
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public V1alpha1ResourcePolicyRule buildFirstResourceRule()
buildFirstResourceRule
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public V1alpha1ResourcePolicyRule buildLastResourceRule()
buildLastResourceRule
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public V1alpha1ResourcePolicyRule buildMatchingResourceRule(Predicate<V1alpha1ResourcePolicyRuleBuilder> predicate)
buildMatchingResourceRule
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public Boolean hasMatchingResourceRule(Predicate<V1alpha1ResourcePolicyRuleBuilder> predicate)
hasMatchingResourceRule
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public A withResourceRules(List<V1alpha1ResourcePolicyRule> resourceRules)
withResourceRules
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public A withResourceRules(V1alpha1ResourcePolicyRule... resourceRules)
withResourceRules
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public Boolean hasResourceRules()
hasResourceRules
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public V1alpha1PolicyRulesWithSubjectsFluent.ResourceRulesNested<A> addNewResourceRule()
addNewResourceRule
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public V1alpha1PolicyRulesWithSubjectsFluent.ResourceRulesNested<A> addNewResourceRuleLike(V1alpha1ResourcePolicyRule item)
addNewResourceRuleLike
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public V1alpha1PolicyRulesWithSubjectsFluent.ResourceRulesNested<A> setNewResourceRuleLike(int index, V1alpha1ResourcePolicyRule item)
setNewResourceRuleLike
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public V1alpha1PolicyRulesWithSubjectsFluent.ResourceRulesNested<A> editResourceRule(int index)
editResourceRule
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public V1alpha1PolicyRulesWithSubjectsFluent.ResourceRulesNested<A> editFirstResourceRule()
editFirstResourceRule
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public V1alpha1PolicyRulesWithSubjectsFluent.ResourceRulesNested<A> editLastResourceRule()
editLastResourceRule
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public V1alpha1PolicyRulesWithSubjectsFluent.ResourceRulesNested<A> editMatchingResourceRule(Predicate<V1alpha1ResourcePolicyRuleBuilder> predicate)
editMatchingResourceRule
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public A addToSubjects(int index, FlowcontrolV1alpha1Subject item)
addToSubjects
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public A setToSubjects(int index, FlowcontrolV1alpha1Subject item)
setToSubjects
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public A addToSubjects(FlowcontrolV1alpha1Subject... items)
addToSubjects
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public A addAllToSubjects(Collection<FlowcontrolV1alpha1Subject> items)
addAllToSubjects
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public A removeFromSubjects(FlowcontrolV1alpha1Subject... items)
removeFromSubjects
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public A removeAllFromSubjects(Collection<FlowcontrolV1alpha1Subject> items)
removeAllFromSubjects
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public A removeMatchingFromSubjects(Predicate<FlowcontrolV1alpha1SubjectBuilder> predicate)
removeMatchingFromSubjects
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
@Deprecated public List<FlowcontrolV1alpha1Subject> getSubjects()
getSubjects
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public List<FlowcontrolV1alpha1Subject> buildSubjects()
buildSubjects
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public FlowcontrolV1alpha1Subject buildSubject(int index)
buildSubject
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public FlowcontrolV1alpha1Subject buildFirstSubject()
buildFirstSubject
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public FlowcontrolV1alpha1Subject buildLastSubject()
buildLastSubject
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public FlowcontrolV1alpha1Subject buildMatchingSubject(Predicate<FlowcontrolV1alpha1SubjectBuilder> predicate)
buildMatchingSubject
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public Boolean hasMatchingSubject(Predicate<FlowcontrolV1alpha1SubjectBuilder> predicate)
hasMatchingSubject
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public A withSubjects(List<FlowcontrolV1alpha1Subject> subjects)
withSubjects
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public A withSubjects(FlowcontrolV1alpha1Subject... subjects)
withSubjects
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public Boolean hasSubjects()
hasSubjects
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public V1alpha1PolicyRulesWithSubjectsFluent.SubjectsNested<A> addNewSubject()
addNewSubject
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public V1alpha1PolicyRulesWithSubjectsFluent.SubjectsNested<A> addNewSubjectLike(FlowcontrolV1alpha1Subject item)
addNewSubjectLike
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public V1alpha1PolicyRulesWithSubjectsFluent.SubjectsNested<A> setNewSubjectLike(int index, FlowcontrolV1alpha1Subject item)
setNewSubjectLike
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public V1alpha1PolicyRulesWithSubjectsFluent.SubjectsNested<A> editSubject(int index)
editSubject
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public V1alpha1PolicyRulesWithSubjectsFluent.SubjectsNested<A> editFirstSubject()
editFirstSubject
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public V1alpha1PolicyRulesWithSubjectsFluent.SubjectsNested<A> editLastSubject()
editLastSubject
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
public V1alpha1PolicyRulesWithSubjectsFluent.SubjectsNested<A> editMatchingSubject(Predicate<FlowcontrolV1alpha1SubjectBuilder> predicate)
editMatchingSubject
in interface V1alpha1PolicyRulesWithSubjectsFluent<A extends V1alpha1PolicyRulesWithSubjectsFluent<A>>
Copyright © 2020. All rights reserved.