@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2021-01-04T09:55:14.976Z[Etc/UTC]") public class V1LabelSelector extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SERIALIZED_NAME_MATCH_EXPRESSIONS |
static String |
SERIALIZED_NAME_MATCH_LABELS |
Constructor and Description |
---|
V1LabelSelector() |
Modifier and Type | Method and Description |
---|---|
V1LabelSelector |
addMatchExpressionsItem(V1LabelSelectorRequirement matchExpressionsItem) |
boolean |
equals(Object o) |
List<V1LabelSelectorRequirement> |
getMatchExpressions()
matchExpressions is a list of label selector requirements.
|
Map<String,String> |
getMatchLabels()
matchLabels is a map of {key,value} pairs.
|
int |
hashCode() |
V1LabelSelector |
matchExpressions(List<V1LabelSelectorRequirement> matchExpressions) |
V1LabelSelector |
matchLabels(Map<String,String> matchLabels) |
V1LabelSelector |
putMatchLabelsItem(String key,
String matchLabelsItem) |
void |
setMatchExpressions(List<V1LabelSelectorRequirement> matchExpressions) |
void |
setMatchLabels(Map<String,String> matchLabels) |
String |
toString() |
public static final String SERIALIZED_NAME_MATCH_EXPRESSIONS
public static final String SERIALIZED_NAME_MATCH_LABELS
public V1LabelSelector matchExpressions(List<V1LabelSelectorRequirement> matchExpressions)
public V1LabelSelector addMatchExpressionsItem(V1LabelSelectorRequirement matchExpressionsItem)
@Nullable public List<V1LabelSelectorRequirement> getMatchExpressions()
public void setMatchExpressions(List<V1LabelSelectorRequirement> matchExpressions)
public V1LabelSelector matchLabels(Map<String,String> matchLabels)
public V1LabelSelector putMatchLabelsItem(String key, String matchLabelsItem)
@Nullable public Map<String,String> getMatchLabels()
Copyright © 2021. All rights reserved.