code: public OperationFuture<List<AntiAffinityPolicy>> delete(AntiAffinityPolicyFilter filter) {
          List<AntiAffinityPolicy> policyRefs = getRefsFromFilter(filter);
          return delete(policyRefs.toArray(new AntiAffinityPolicy[policyRefs.size()]));
      }
docs: Remove Anti-affinity policies
  
  @param filter the search policies criteria
  @return OperationFuture wrapper for list of AntiAffinityPolicy