public class V1AggregationRuleFluentImpl<A extends V1AggregationRuleFluent<A>> extends BaseFluent<A> implements V1AggregationRuleFluent<A>
Modifier and Type | Class and Description |
---|---|
class |
V1AggregationRuleFluentImpl.ClusterRoleSelectorsNestedImpl<N> |
V1AggregationRuleFluent.ClusterRoleSelectorsNested<N>
_visitables
Constructor and Description |
---|
V1AggregationRuleFluentImpl() |
V1AggregationRuleFluentImpl(V1AggregationRule instance) |
public V1AggregationRuleFluentImpl()
public V1AggregationRuleFluentImpl(V1AggregationRule instance)
public A addToClusterRoleSelectors(int index, V1LabelSelector item)
addToClusterRoleSelectors
in interface V1AggregationRuleFluent<A extends V1AggregationRuleFluent<A>>
public A setToClusterRoleSelectors(int index, V1LabelSelector item)
setToClusterRoleSelectors
in interface V1AggregationRuleFluent<A extends V1AggregationRuleFluent<A>>
public A addToClusterRoleSelectors(V1LabelSelector... items)
addToClusterRoleSelectors
in interface V1AggregationRuleFluent<A extends V1AggregationRuleFluent<A>>
public A addAllToClusterRoleSelectors(Collection<V1LabelSelector> items)
addAllToClusterRoleSelectors
in interface V1AggregationRuleFluent<A extends V1AggregationRuleFluent<A>>
public A removeFromClusterRoleSelectors(V1LabelSelector... items)
removeFromClusterRoleSelectors
in interface V1AggregationRuleFluent<A extends V1AggregationRuleFluent<A>>
public A removeAllFromClusterRoleSelectors(Collection<V1LabelSelector> items)
removeAllFromClusterRoleSelectors
in interface V1AggregationRuleFluent<A extends V1AggregationRuleFluent<A>>
public A removeMatchingFromClusterRoleSelectors(Predicate<V1LabelSelectorBuilder> predicate)
removeMatchingFromClusterRoleSelectors
in interface V1AggregationRuleFluent<A extends V1AggregationRuleFluent<A>>
@Deprecated public List<V1LabelSelector> getClusterRoleSelectors()
getClusterRoleSelectors
in interface V1AggregationRuleFluent<A extends V1AggregationRuleFluent<A>>
public List<V1LabelSelector> buildClusterRoleSelectors()
buildClusterRoleSelectors
in interface V1AggregationRuleFluent<A extends V1AggregationRuleFluent<A>>
public V1LabelSelector buildClusterRoleSelector(int index)
buildClusterRoleSelector
in interface V1AggregationRuleFluent<A extends V1AggregationRuleFluent<A>>
public V1LabelSelector buildFirstClusterRoleSelector()
buildFirstClusterRoleSelector
in interface V1AggregationRuleFluent<A extends V1AggregationRuleFluent<A>>
public V1LabelSelector buildLastClusterRoleSelector()
buildLastClusterRoleSelector
in interface V1AggregationRuleFluent<A extends V1AggregationRuleFluent<A>>
public V1LabelSelector buildMatchingClusterRoleSelector(Predicate<V1LabelSelectorBuilder> predicate)
buildMatchingClusterRoleSelector
in interface V1AggregationRuleFluent<A extends V1AggregationRuleFluent<A>>
public Boolean hasMatchingClusterRoleSelector(Predicate<V1LabelSelectorBuilder> predicate)
hasMatchingClusterRoleSelector
in interface V1AggregationRuleFluent<A extends V1AggregationRuleFluent<A>>
public A withClusterRoleSelectors(List<V1LabelSelector> clusterRoleSelectors)
withClusterRoleSelectors
in interface V1AggregationRuleFluent<A extends V1AggregationRuleFluent<A>>
public A withClusterRoleSelectors(V1LabelSelector... clusterRoleSelectors)
withClusterRoleSelectors
in interface V1AggregationRuleFluent<A extends V1AggregationRuleFluent<A>>
public Boolean hasClusterRoleSelectors()
hasClusterRoleSelectors
in interface V1AggregationRuleFluent<A extends V1AggregationRuleFluent<A>>
public V1AggregationRuleFluent.ClusterRoleSelectorsNested<A> addNewClusterRoleSelector()
addNewClusterRoleSelector
in interface V1AggregationRuleFluent<A extends V1AggregationRuleFluent<A>>
public V1AggregationRuleFluent.ClusterRoleSelectorsNested<A> addNewClusterRoleSelectorLike(V1LabelSelector item)
addNewClusterRoleSelectorLike
in interface V1AggregationRuleFluent<A extends V1AggregationRuleFluent<A>>
public V1AggregationRuleFluent.ClusterRoleSelectorsNested<A> setNewClusterRoleSelectorLike(int index, V1LabelSelector item)
setNewClusterRoleSelectorLike
in interface V1AggregationRuleFluent<A extends V1AggregationRuleFluent<A>>
public V1AggregationRuleFluent.ClusterRoleSelectorsNested<A> editClusterRoleSelector(int index)
editClusterRoleSelector
in interface V1AggregationRuleFluent<A extends V1AggregationRuleFluent<A>>
public V1AggregationRuleFluent.ClusterRoleSelectorsNested<A> editFirstClusterRoleSelector()
editFirstClusterRoleSelector
in interface V1AggregationRuleFluent<A extends V1AggregationRuleFluent<A>>
public V1AggregationRuleFluent.ClusterRoleSelectorsNested<A> editLastClusterRoleSelector()
editLastClusterRoleSelector
in interface V1AggregationRuleFluent<A extends V1AggregationRuleFluent<A>>
public V1AggregationRuleFluent.ClusterRoleSelectorsNested<A> editMatchingClusterRoleSelector(Predicate<V1LabelSelectorBuilder> predicate)
editMatchingClusterRoleSelector
in interface V1AggregationRuleFluent<A extends V1AggregationRuleFluent<A>>
Copyright © 2020. All rights reserved.