@Generated(value="org.jsonschema2pojo") public class PodAffinityTerm extends Object implements KubernetesResource
Constructor and Description |
---|
PodAffinityTerm()
No args constructor for use in serialization
|
PodAffinityTerm(LabelSelector labelSelector,
List<String> namespaces,
String topologyKey) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getAdditionalProperties() |
LabelSelector |
getLabelSelector() |
List<String> |
getNamespaces() |
String |
getTopologyKey() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setLabelSelector(LabelSelector labelSelector) |
void |
setNamespaces(List<String> namespaces) |
void |
setTopologyKey(String topologyKey) |
public PodAffinityTerm()
public PodAffinityTerm(LabelSelector labelSelector, List<String> namespaces, String topologyKey)
labelSelector
- topologyKey
- namespaces
- public LabelSelector getLabelSelector()
public void setLabelSelector(LabelSelector labelSelector)
labelSelector
- The labelSelectorpublic void setNamespaces(List<String> namespaces)
namespaces
- The namespacespublic String getTopologyKey()
public void setTopologyKey(String topologyKey)
topologyKey
- The topologyKeyCopyright © 2015–2019 Red Hat. All rights reserved.