@Generated(value="org.jsonschema2pojo") public class PodAntiAffinity extends Object implements KubernetesResource
Constructor and Description |
---|
PodAntiAffinity()
No args constructor for use in serialization
|
PodAntiAffinity(List<WeightedPodAffinityTerm> preferredDuringSchedulingIgnoredDuringExecution,
List<PodAffinityTerm> requiredDuringSchedulingIgnoredDuringExecution) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getAdditionalProperties() |
List<WeightedPodAffinityTerm> |
getPreferredDuringSchedulingIgnoredDuringExecution() |
List<PodAffinityTerm> |
getRequiredDuringSchedulingIgnoredDuringExecution() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setPreferredDuringSchedulingIgnoredDuringExecution(List<WeightedPodAffinityTerm> preferredDuringSchedulingIgnoredDuringExecution) |
void |
setRequiredDuringSchedulingIgnoredDuringExecution(List<PodAffinityTerm> requiredDuringSchedulingIgnoredDuringExecution) |
public PodAntiAffinity()
public PodAntiAffinity(List<WeightedPodAffinityTerm> preferredDuringSchedulingIgnoredDuringExecution, List<PodAffinityTerm> requiredDuringSchedulingIgnoredDuringExecution)
requiredDuringSchedulingIgnoredDuringExecution
- preferredDuringSchedulingIgnoredDuringExecution
- public List<WeightedPodAffinityTerm> getPreferredDuringSchedulingIgnoredDuringExecution()
public void setPreferredDuringSchedulingIgnoredDuringExecution(List<WeightedPodAffinityTerm> preferredDuringSchedulingIgnoredDuringExecution)
preferredDuringSchedulingIgnoredDuringExecution
- The preferredDuringSchedulingIgnoredDuringExecutionpublic List<PodAffinityTerm> getRequiredDuringSchedulingIgnoredDuringExecution()
public void setRequiredDuringSchedulingIgnoredDuringExecution(List<PodAffinityTerm> requiredDuringSchedulingIgnoredDuringExecution)
requiredDuringSchedulingIgnoredDuringExecution
- The requiredDuringSchedulingIgnoredDuringExecutionCopyright © 2015–2019 Red Hat. All rights reserved.