public Builder podAffinity(@Nullable Output<PodAffinityArgs> podAffinity) {
            $.podAffinity = podAffinity;
            return this;
        }
@param podAffinity Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).

@return builder
sdk/java/src/main/java/com/pulumi/kubernetes/core/v1/inputs/AffinityArgs.java