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) |
Modifier and Type | Method and Description |
---|---|
LabelSelectorFluent.MatchExpressionsNested<A> |
addNewMatchExpression() |
LabelSelectorFluent.MatchExpressionsNested<A> |
addNewMatchExpressionLike(LabelSelectorRequirement item) |
A |
addToMatchExpressions(LabelSelectorRequirement... items) |
A |
addToMatchLabels(Map<String,String> map) |
A |
addToMatchLabels(String key,
String value) |
boolean |
equals(Object o) |
List<LabelSelectorRequirement> |
getMatchExpressions() |
Map<String,String> |
getMatchLabels() |
A |
removeFromMatchExpressions(LabelSelectorRequirement... items) |
A |
removeFromMatchLabels(Map<String,String> map) |
A |
removeFromMatchLabels(String key) |
A |
withMatchExpressions(LabelSelectorRequirement... matchExpressions) |
A |
withMatchExpressions(List<LabelSelectorRequirement> matchExpressions) |
A |
withMatchLabels(Map<String,String> matchLabels) |
public LabelSelectorFluentImpl()
public LabelSelectorFluentImpl(LabelSelector instance)
public A addToMatchExpressions(LabelSelectorRequirement... items)
addToMatchExpressions
in interface LabelSelectorFluent<A extends LabelSelectorFluent<A>>
public A removeFromMatchExpressions(LabelSelectorRequirement... items)
removeFromMatchExpressions
in interface LabelSelectorFluent<A extends LabelSelectorFluent<A>>
public List<LabelSelectorRequirement> getMatchExpressions()
getMatchExpressions
in interface LabelSelectorFluent<A extends LabelSelectorFluent<A>>
public A withMatchExpressions(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 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 A addToMatchLabels(String key, String value)
addToMatchLabels
in interface LabelSelectorFluent<A extends LabelSelectorFluent<A>>
public A addToMatchLabels(Map<String,String> map)
addToMatchLabels
in interface LabelSelectorFluent<A extends LabelSelectorFluent<A>>
public A removeFromMatchLabels(String key)
removeFromMatchLabels
in interface LabelSelectorFluent<A extends LabelSelectorFluent<A>>
public A removeFromMatchLabels(Map<String,String> map)
removeFromMatchLabels
in interface LabelSelectorFluent<A extends LabelSelectorFluent<A>>
public Map<String,String> getMatchLabels()
getMatchLabels
in interface LabelSelectorFluent<A extends LabelSelectorFluent<A>>
public A withMatchLabels(Map<String,String> matchLabels)
withMatchLabels
in interface LabelSelectorFluent<A extends LabelSelectorFluent<A>>
Copyright © 2011–2016 Red Hat. All rights reserved.