@Generated(value="org.jsonschema2pojo") public class PodAffinity extends Object implements KubernetesResource
Constructor and Description |
---|
PodAffinity()
No args constructor for use in serialization
|
PodAffinity(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 PodAffinity()
public PodAffinity(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.