Class PodAffinity.Builder
- java.lang.Object
-
- com.pulumi.kubernetes.core.v1.outputs.PodAffinity.Builder
-
- Enclosing class:
- PodAffinity
public static final class PodAffinity.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(PodAffinity defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PodAffinity
build()
PodAffinity.Builder
preferredDuringSchedulingIgnoredDuringExecution(WeightedPodAffinityTerm... preferredDuringSchedulingIgnoredDuringExecution)
PodAffinity.Builder
preferredDuringSchedulingIgnoredDuringExecution(java.util.List<WeightedPodAffinityTerm> preferredDuringSchedulingIgnoredDuringExecution)
PodAffinity.Builder
requiredDuringSchedulingIgnoredDuringExecution(PodAffinityTerm... requiredDuringSchedulingIgnoredDuringExecution)
PodAffinity.Builder
requiredDuringSchedulingIgnoredDuringExecution(java.util.List<PodAffinityTerm> requiredDuringSchedulingIgnoredDuringExecution)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(PodAffinity defaults)
-
-
Method Detail
-
preferredDuringSchedulingIgnoredDuringExecution
public PodAffinity.Builder preferredDuringSchedulingIgnoredDuringExecution(@Nullable java.util.List<WeightedPodAffinityTerm> preferredDuringSchedulingIgnoredDuringExecution)
-
preferredDuringSchedulingIgnoredDuringExecution
public PodAffinity.Builder preferredDuringSchedulingIgnoredDuringExecution(WeightedPodAffinityTerm... preferredDuringSchedulingIgnoredDuringExecution)
-
requiredDuringSchedulingIgnoredDuringExecution
public PodAffinity.Builder requiredDuringSchedulingIgnoredDuringExecution(@Nullable java.util.List<PodAffinityTerm> requiredDuringSchedulingIgnoredDuringExecution)
-
requiredDuringSchedulingIgnoredDuringExecution
public PodAffinity.Builder requiredDuringSchedulingIgnoredDuringExecution(PodAffinityTerm... requiredDuringSchedulingIgnoredDuringExecution)
-
build
public PodAffinity build()
-
-