public static Builder builder(AffinityArgs defaults) {
        return new Builder(defaults);
    }
@return Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).
sdk/java/src/main/java/com/pulumi/kubernetes/core/v1/inputs/AffinityArgs.java