Package io.fabric8.kubernetes.api.model
Class LabelSelector
java.lang.Object
io.fabric8.kubernetes.api.model.LabelSelector
- All Implemented Interfaces:
KubernetesResource,Serializable
@Generated("org.jsonschema2pojo") public class LabelSelector extends Object implements KubernetesResource
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description LabelSelector()No args constructor for use in serializationLabelSelector(List<LabelSelectorRequirement> matchExpressions, Map<String,String> matchLabels) -
Method Summary
Modifier and Type Method Description Map<String,Object>getAdditionalProperties()List<LabelSelectorRequirement>getMatchExpressions()Map<String,String>getMatchLabels()voidsetAdditionalProperty(String name, Object value)voidsetMatchExpressions(List<LabelSelectorRequirement> matchExpressions)voidsetMatchLabels(Map<String,String> matchLabels)
-
Constructor Details
-
LabelSelector
public LabelSelector()No args constructor for use in serialization -
LabelSelector
public LabelSelector(List<LabelSelectorRequirement> matchExpressions, Map<String,String> matchLabels)- Parameters:
matchExpressions-matchLabels-
-
-
Method Details
-
getMatchExpressions
- Returns:
- The matchExpressions
-
setMatchExpressions
- Parameters:
matchExpressions- The matchExpressions
-
getMatchLabels
- Returns:
- The matchLabels
-
setMatchLabels
- Parameters:
matchLabels- The matchLabels
-
getAdditionalProperties
-
setAdditionalProperty
-