public class AggregationRuleFluentImpl<A extends AggregationRuleFluent<A>> extends BaseFluent<A> implements AggregationRuleFluent<A>
Modifier and Type | Class and Description |
---|---|
class |
AggregationRuleFluentImpl.ClusterRoleSelectorsNestedImpl<N> |
AggregationRuleFluent.ClusterRoleSelectorsNested<N>
_visitables
Constructor and Description |
---|
AggregationRuleFluentImpl() |
AggregationRuleFluentImpl(AggregationRule instance) |
public AggregationRuleFluentImpl()
public AggregationRuleFluentImpl(AggregationRule instance)
public A addToClusterRoleSelectors(int index, LabelSelector item)
addToClusterRoleSelectors
in interface AggregationRuleFluent<A extends AggregationRuleFluent<A>>
public A setToClusterRoleSelectors(int index, LabelSelector item)
setToClusterRoleSelectors
in interface AggregationRuleFluent<A extends AggregationRuleFluent<A>>
public A addToClusterRoleSelectors(LabelSelector... items)
addToClusterRoleSelectors
in interface AggregationRuleFluent<A extends AggregationRuleFluent<A>>
public A addAllToClusterRoleSelectors(java.util.Collection<LabelSelector> items)
addAllToClusterRoleSelectors
in interface AggregationRuleFluent<A extends AggregationRuleFluent<A>>
public A removeFromClusterRoleSelectors(LabelSelector... items)
removeFromClusterRoleSelectors
in interface AggregationRuleFluent<A extends AggregationRuleFluent<A>>
public A removeAllFromClusterRoleSelectors(java.util.Collection<LabelSelector> items)
removeAllFromClusterRoleSelectors
in interface AggregationRuleFluent<A extends AggregationRuleFluent<A>>
@Deprecated public java.util.List<LabelSelector> getClusterRoleSelectors()
getClusterRoleSelectors
in interface AggregationRuleFluent<A extends AggregationRuleFluent<A>>
public java.util.List<LabelSelector> buildClusterRoleSelectors()
buildClusterRoleSelectors
in interface AggregationRuleFluent<A extends AggregationRuleFluent<A>>
public LabelSelector buildClusterRoleSelector(int index)
buildClusterRoleSelector
in interface AggregationRuleFluent<A extends AggregationRuleFluent<A>>
public LabelSelector buildFirstClusterRoleSelector()
buildFirstClusterRoleSelector
in interface AggregationRuleFluent<A extends AggregationRuleFluent<A>>
public LabelSelector buildLastClusterRoleSelector()
buildLastClusterRoleSelector
in interface AggregationRuleFluent<A extends AggregationRuleFluent<A>>
public LabelSelector buildMatchingClusterRoleSelector(Predicate<LabelSelectorBuilder> predicate)
buildMatchingClusterRoleSelector
in interface AggregationRuleFluent<A extends AggregationRuleFluent<A>>
public java.lang.Boolean hasMatchingClusterRoleSelector(Predicate<LabelSelectorBuilder> predicate)
hasMatchingClusterRoleSelector
in interface AggregationRuleFluent<A extends AggregationRuleFluent<A>>
public A withClusterRoleSelectors(java.util.List<LabelSelector> clusterRoleSelectors)
withClusterRoleSelectors
in interface AggregationRuleFluent<A extends AggregationRuleFluent<A>>
public A withClusterRoleSelectors(LabelSelector... clusterRoleSelectors)
withClusterRoleSelectors
in interface AggregationRuleFluent<A extends AggregationRuleFluent<A>>
public java.lang.Boolean hasClusterRoleSelectors()
hasClusterRoleSelectors
in interface AggregationRuleFluent<A extends AggregationRuleFluent<A>>
public AggregationRuleFluent.ClusterRoleSelectorsNested<A> addNewClusterRoleSelector()
addNewClusterRoleSelector
in interface AggregationRuleFluent<A extends AggregationRuleFluent<A>>
public AggregationRuleFluent.ClusterRoleSelectorsNested<A> addNewClusterRoleSelectorLike(LabelSelector item)
addNewClusterRoleSelectorLike
in interface AggregationRuleFluent<A extends AggregationRuleFluent<A>>
public AggregationRuleFluent.ClusterRoleSelectorsNested<A> setNewClusterRoleSelectorLike(int index, LabelSelector item)
setNewClusterRoleSelectorLike
in interface AggregationRuleFluent<A extends AggregationRuleFluent<A>>
public AggregationRuleFluent.ClusterRoleSelectorsNested<A> editClusterRoleSelector(int index)
editClusterRoleSelector
in interface AggregationRuleFluent<A extends AggregationRuleFluent<A>>
public AggregationRuleFluent.ClusterRoleSelectorsNested<A> editFirstClusterRoleSelector()
editFirstClusterRoleSelector
in interface AggregationRuleFluent<A extends AggregationRuleFluent<A>>
public AggregationRuleFluent.ClusterRoleSelectorsNested<A> editLastClusterRoleSelector()
editLastClusterRoleSelector
in interface AggregationRuleFluent<A extends AggregationRuleFluent<A>>
public AggregationRuleFluent.ClusterRoleSelectorsNested<A> editMatchingClusterRoleSelector(Predicate<LabelSelectorBuilder> predicate)
editMatchingClusterRoleSelector
in interface AggregationRuleFluent<A extends AggregationRuleFluent<A>>
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
Copyright © 2015-2019 Red Hat. All Rights Reserved.