@CustomType.Setter
        public Builder nodeAffinity(@Nullable NodeAffinity nodeAffinity) {

            this.nodeAffinity = nodeAffinity;
            return this;
        }
@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/outputs/Affinity.java