@Generated(value="org.jsonschema2pojo") public class LabelSelector extends Object implements KubernetesResource
Constructor and Description |
---|
LabelSelector()
No args constructor for use in serialization
|
LabelSelector(List<LabelSelectorRequirement> matchExpressions,
Map<String,String> matchLabels) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getAdditionalProperties() |
List<LabelSelectorRequirement> |
getMatchExpressions() |
Map<String,String> |
getMatchLabels() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setMatchExpressions(List<LabelSelectorRequirement> matchExpressions) |
void |
setMatchLabels(Map<String,String> matchLabels) |
public LabelSelector()
public LabelSelector(List<LabelSelectorRequirement> matchExpressions, Map<String,String> matchLabels)
matchExpressions
- matchLabels
- public List<LabelSelectorRequirement> getMatchExpressions()
public void setMatchExpressions(List<LabelSelectorRequirement> matchExpressions)
matchExpressions
- The matchExpressionspublic void setMatchLabels(Map<String,String> matchLabels)
matchLabels
- The matchLabelsCopyright © 2011–2017 Red Hat. All rights reserved.