public class V1LabelSelectorFluentImpl<A extends V1LabelSelectorFluent<A>> extends BaseFluent<A> implements V1LabelSelectorFluent<A>
Modifier and Type | Class and Description |
---|---|
class |
V1LabelSelectorFluentImpl.MatchExpressionsNestedImpl<N> |
V1LabelSelectorFluent.MatchExpressionsNested<N>
_visitables
Constructor and Description |
---|
V1LabelSelectorFluentImpl() |
V1LabelSelectorFluentImpl(V1LabelSelector instance) |
public V1LabelSelectorFluentImpl()
public V1LabelSelectorFluentImpl(V1LabelSelector instance)
public A addToMatchExpressions(int index, V1LabelSelectorRequirement item)
addToMatchExpressions
in interface V1LabelSelectorFluent<A extends V1LabelSelectorFluent<A>>
public A setToMatchExpressions(int index, V1LabelSelectorRequirement item)
setToMatchExpressions
in interface V1LabelSelectorFluent<A extends V1LabelSelectorFluent<A>>
public A addToMatchExpressions(V1LabelSelectorRequirement... items)
addToMatchExpressions
in interface V1LabelSelectorFluent<A extends V1LabelSelectorFluent<A>>
public A addAllToMatchExpressions(Collection<V1LabelSelectorRequirement> items)
addAllToMatchExpressions
in interface V1LabelSelectorFluent<A extends V1LabelSelectorFluent<A>>
public A removeFromMatchExpressions(V1LabelSelectorRequirement... items)
removeFromMatchExpressions
in interface V1LabelSelectorFluent<A extends V1LabelSelectorFluent<A>>
public A removeAllFromMatchExpressions(Collection<V1LabelSelectorRequirement> items)
removeAllFromMatchExpressions
in interface V1LabelSelectorFluent<A extends V1LabelSelectorFluent<A>>
@Deprecated public List<V1LabelSelectorRequirement> getMatchExpressions()
getMatchExpressions
in interface V1LabelSelectorFluent<A extends V1LabelSelectorFluent<A>>
public List<V1LabelSelectorRequirement> buildMatchExpressions()
buildMatchExpressions
in interface V1LabelSelectorFluent<A extends V1LabelSelectorFluent<A>>
public V1LabelSelectorRequirement buildMatchExpression(int index)
buildMatchExpression
in interface V1LabelSelectorFluent<A extends V1LabelSelectorFluent<A>>
public V1LabelSelectorRequirement buildFirstMatchExpression()
buildFirstMatchExpression
in interface V1LabelSelectorFluent<A extends V1LabelSelectorFluent<A>>
public V1LabelSelectorRequirement buildLastMatchExpression()
buildLastMatchExpression
in interface V1LabelSelectorFluent<A extends V1LabelSelectorFluent<A>>
public V1LabelSelectorRequirement buildMatchingMatchExpression(Predicate<V1LabelSelectorRequirementBuilder> predicate)
buildMatchingMatchExpression
in interface V1LabelSelectorFluent<A extends V1LabelSelectorFluent<A>>
public A withMatchExpressions(List<V1LabelSelectorRequirement> matchExpressions)
withMatchExpressions
in interface V1LabelSelectorFluent<A extends V1LabelSelectorFluent<A>>
public A withMatchExpressions(V1LabelSelectorRequirement... matchExpressions)
withMatchExpressions
in interface V1LabelSelectorFluent<A extends V1LabelSelectorFluent<A>>
public Boolean hasMatchExpressions()
hasMatchExpressions
in interface V1LabelSelectorFluent<A extends V1LabelSelectorFluent<A>>
public V1LabelSelectorFluent.MatchExpressionsNested<A> addNewMatchExpression()
addNewMatchExpression
in interface V1LabelSelectorFluent<A extends V1LabelSelectorFluent<A>>
public V1LabelSelectorFluent.MatchExpressionsNested<A> addNewMatchExpressionLike(V1LabelSelectorRequirement item)
addNewMatchExpressionLike
in interface V1LabelSelectorFluent<A extends V1LabelSelectorFluent<A>>
public V1LabelSelectorFluent.MatchExpressionsNested<A> setNewMatchExpressionLike(int index, V1LabelSelectorRequirement item)
setNewMatchExpressionLike
in interface V1LabelSelectorFluent<A extends V1LabelSelectorFluent<A>>
public V1LabelSelectorFluent.MatchExpressionsNested<A> editMatchExpression(int index)
editMatchExpression
in interface V1LabelSelectorFluent<A extends V1LabelSelectorFluent<A>>
public V1LabelSelectorFluent.MatchExpressionsNested<A> editFirstMatchExpression()
editFirstMatchExpression
in interface V1LabelSelectorFluent<A extends V1LabelSelectorFluent<A>>
public V1LabelSelectorFluent.MatchExpressionsNested<A> editLastMatchExpression()
editLastMatchExpression
in interface V1LabelSelectorFluent<A extends V1LabelSelectorFluent<A>>
public V1LabelSelectorFluent.MatchExpressionsNested<A> editMatchingMatchExpression(Predicate<V1LabelSelectorRequirementBuilder> predicate)
editMatchingMatchExpression
in interface V1LabelSelectorFluent<A extends V1LabelSelectorFluent<A>>
public A addToMatchLabels(String key, String value)
addToMatchLabels
in interface V1LabelSelectorFluent<A extends V1LabelSelectorFluent<A>>
public A addToMatchLabels(Map<String,String> map)
addToMatchLabels
in interface V1LabelSelectorFluent<A extends V1LabelSelectorFluent<A>>
public A removeFromMatchLabels(String key)
removeFromMatchLabels
in interface V1LabelSelectorFluent<A extends V1LabelSelectorFluent<A>>
public A removeFromMatchLabels(Map<String,String> map)
removeFromMatchLabels
in interface V1LabelSelectorFluent<A extends V1LabelSelectorFluent<A>>
public Map<String,String> getMatchLabels()
getMatchLabels
in interface V1LabelSelectorFluent<A extends V1LabelSelectorFluent<A>>
public A withMatchLabels(Map<String,String> matchLabels)
withMatchLabels
in interface V1LabelSelectorFluent<A extends V1LabelSelectorFluent<A>>
public Boolean hasMatchLabels()
hasMatchLabels
in interface V1LabelSelectorFluent<A extends V1LabelSelectorFluent<A>>
Copyright © 2019. All rights reserved.