public class LabelSelectorFluentImpl<A extends LabelSelectorFluent<A>> extends BaseFluent<A> implements LabelSelectorFluent<A>
Modifier and Type | Class and Description |
---|---|
class |
LabelSelectorFluentImpl.MatchExpressionsNestedImpl<N> |
LabelSelectorFluent.MatchExpressionsNested<N>
_visitables
Constructor and Description |
---|
LabelSelectorFluentImpl() |
LabelSelectorFluentImpl(LabelSelector instance) |
public LabelSelectorFluentImpl()
public LabelSelectorFluentImpl(LabelSelector instance)
public A addToMatchExpressions(int index, LabelSelectorRequirement item)
addToMatchExpressions
in interface LabelSelectorFluent<A extends LabelSelectorFluent<A>>
public A setToMatchExpressions(int index, LabelSelectorRequirement item)
setToMatchExpressions
in interface LabelSelectorFluent<A extends LabelSelectorFluent<A>>
public A addToMatchExpressions(LabelSelectorRequirement... items)
addToMatchExpressions
in interface LabelSelectorFluent<A extends LabelSelectorFluent<A>>
public A addAllToMatchExpressions(java.util.Collection<LabelSelectorRequirement> items)
addAllToMatchExpressions
in interface LabelSelectorFluent<A extends LabelSelectorFluent<A>>
public A removeFromMatchExpressions(LabelSelectorRequirement... items)
removeFromMatchExpressions
in interface LabelSelectorFluent<A extends LabelSelectorFluent<A>>
public A removeAllFromMatchExpressions(java.util.Collection<LabelSelectorRequirement> items)
removeAllFromMatchExpressions
in interface LabelSelectorFluent<A extends LabelSelectorFluent<A>>
@Deprecated public java.util.List<LabelSelectorRequirement> getMatchExpressions()
getMatchExpressions
in interface LabelSelectorFluent<A extends LabelSelectorFluent<A>>
public java.util.List<LabelSelectorRequirement> buildMatchExpressions()
buildMatchExpressions
in interface LabelSelectorFluent<A extends LabelSelectorFluent<A>>
public LabelSelectorRequirement buildMatchExpression(int index)
buildMatchExpression
in interface LabelSelectorFluent<A extends LabelSelectorFluent<A>>
public LabelSelectorRequirement buildFirstMatchExpression()
buildFirstMatchExpression
in interface LabelSelectorFluent<A extends LabelSelectorFluent<A>>
public LabelSelectorRequirement buildLastMatchExpression()
buildLastMatchExpression
in interface LabelSelectorFluent<A extends LabelSelectorFluent<A>>
public LabelSelectorRequirement buildMatchingMatchExpression(Predicate<LabelSelectorRequirementBuilder> predicate)
buildMatchingMatchExpression
in interface LabelSelectorFluent<A extends LabelSelectorFluent<A>>
public java.lang.Boolean hasMatchingMatchExpression(Predicate<LabelSelectorRequirementBuilder> predicate)
hasMatchingMatchExpression
in interface LabelSelectorFluent<A extends LabelSelectorFluent<A>>
public A withMatchExpressions(java.util.List<LabelSelectorRequirement> matchExpressions)
withMatchExpressions
in interface LabelSelectorFluent<A extends LabelSelectorFluent<A>>
public A withMatchExpressions(LabelSelectorRequirement... matchExpressions)
withMatchExpressions
in interface LabelSelectorFluent<A extends LabelSelectorFluent<A>>
public java.lang.Boolean hasMatchExpressions()
hasMatchExpressions
in interface LabelSelectorFluent<A extends LabelSelectorFluent<A>>
public LabelSelectorFluent.MatchExpressionsNested<A> addNewMatchExpression()
addNewMatchExpression
in interface LabelSelectorFluent<A extends LabelSelectorFluent<A>>
public LabelSelectorFluent.MatchExpressionsNested<A> addNewMatchExpressionLike(LabelSelectorRequirement item)
addNewMatchExpressionLike
in interface LabelSelectorFluent<A extends LabelSelectorFluent<A>>
public LabelSelectorFluent.MatchExpressionsNested<A> setNewMatchExpressionLike(int index, LabelSelectorRequirement item)
setNewMatchExpressionLike
in interface LabelSelectorFluent<A extends LabelSelectorFluent<A>>
public LabelSelectorFluent.MatchExpressionsNested<A> editMatchExpression(int index)
editMatchExpression
in interface LabelSelectorFluent<A extends LabelSelectorFluent<A>>
public LabelSelectorFluent.MatchExpressionsNested<A> editFirstMatchExpression()
editFirstMatchExpression
in interface LabelSelectorFluent<A extends LabelSelectorFluent<A>>
public LabelSelectorFluent.MatchExpressionsNested<A> editLastMatchExpression()
editLastMatchExpression
in interface LabelSelectorFluent<A extends LabelSelectorFluent<A>>
public LabelSelectorFluent.MatchExpressionsNested<A> editMatchingMatchExpression(Predicate<LabelSelectorRequirementBuilder> predicate)
editMatchingMatchExpression
in interface LabelSelectorFluent<A extends LabelSelectorFluent<A>>
public A addToMatchLabels(java.lang.String key, java.lang.String value)
addToMatchLabels
in interface LabelSelectorFluent<A extends LabelSelectorFluent<A>>
public A addToMatchLabels(java.util.Map<java.lang.String,java.lang.String> map)
addToMatchLabels
in interface LabelSelectorFluent<A extends LabelSelectorFluent<A>>
public A removeFromMatchLabels(java.lang.String key)
removeFromMatchLabels
in interface LabelSelectorFluent<A extends LabelSelectorFluent<A>>
public A removeFromMatchLabels(java.util.Map<java.lang.String,java.lang.String> map)
removeFromMatchLabels
in interface LabelSelectorFluent<A extends LabelSelectorFluent<A>>
public java.util.Map<java.lang.String,java.lang.String> getMatchLabels()
getMatchLabels
in interface LabelSelectorFluent<A extends LabelSelectorFluent<A>>
public A withMatchLabels(java.util.Map<java.lang.String,java.lang.String> matchLabels)
withMatchLabels
in interface LabelSelectorFluent<A extends LabelSelectorFluent<A>>
public java.lang.Boolean hasMatchLabels()
hasMatchLabels
in interface LabelSelectorFluent<A extends LabelSelectorFluent<A>>
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
Copyright © 2015-2019 Red Hat. All Rights Reserved.