public Builder podAffinity(PodAffinityArgs podAffinity) {
            return podAffinity(Output.of(podAffinity));
        }
@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