code: public void setCaseInsensitiveQueryAttributesAsCollection(final Collection<String> caseInsensitiveQueryAttributes) {
          if (caseInsensitiveQueryAttributes == null || caseInsensitiveQueryAttributes.isEmpty()) {
              setCaseInsensitiveQueryAttributes(null);
          } else {
              final Map<String, CaseCanonicalizationMode> asMap = new HashMap<>();
              for (final String attrib : caseInsensitiveQueryAttributes) {
                  asMap.put(attrib, null);
              }
              setCaseInsensitiveQueryAttributes(asMap);
          }
      }
docs: Configuration convenience same as passing the given {@code Set} as the
  keys in the {@link #setCaseInsensitiveQueryAttributes(java.util.Map)}
  {@code Map} and implicitly accepting the default canonicalization mode
  for each. Note that this setter will not assign canonicalization modes,
  meaning that you needn't ensure
  {@link #setDefaultCaseCanonicalizationMode(CaseCanonicalizationMode)}
  has already been called.
  
  @param caseInsensitiveQueryAttributes Set of query attribute names