@Generated(value="org.jsonschema2pojo") public class TopologySpreadConstraint extends Object implements KubernetesResource
| Constructor and Description |
|---|
TopologySpreadConstraint()
No args constructor for use in serialization
|
TopologySpreadConstraint(LabelSelector labelSelector,
Integer maxSkew,
String topologyKey,
String whenUnsatisfiable) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getAdditionalProperties() |
LabelSelector |
getLabelSelector() |
Integer |
getMaxSkew() |
String |
getTopologyKey() |
String |
getWhenUnsatisfiable() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setLabelSelector(LabelSelector labelSelector) |
void |
setMaxSkew(Integer maxSkew) |
void |
setTopologyKey(String topologyKey) |
void |
setWhenUnsatisfiable(String whenUnsatisfiable) |
public TopologySpreadConstraint()
public TopologySpreadConstraint(LabelSelector labelSelector, Integer maxSkew, String topologyKey, String whenUnsatisfiable)
whenUnsatisfiable - maxSkew - labelSelector - topologyKey - public LabelSelector getLabelSelector()
public void setLabelSelector(LabelSelector labelSelector)
labelSelector - The labelSelectorpublic Integer getMaxSkew()
public void setMaxSkew(Integer maxSkew)
maxSkew - The maxSkewpublic String getTopologyKey()
public void setTopologyKey(String topologyKey)
topologyKey - The topologyKeypublic String getWhenUnsatisfiable()
public void setWhenUnsatisfiable(String whenUnsatisfiable)
whenUnsatisfiable - The whenUnsatisfiableCopyright © 2015–2021 Red Hat. All rights reserved.