code: public AntiAffinityPolicyFilter policies(AntiAffinityPolicy... policies) {
          allItemsNotNull(policies, "Anti-affinity Policies");
  
          evaluation = new AndEvaluation<>(evaluation, Filter.or(
              Streams.map(policies, AntiAffinityPolicy::asFilter)
          ), AntiAffinityPolicyMetadata::getId);
  
          return this;
      }
docs: Method allow to filter policies by its references.
  @param policies is not null list of policy references
  @return {@link AntiAffinityPolicyFilter}