code: public MediaType withParameters(Map<String, ? extends Iterable<String>> parameters) {
          final ImmutableListMultimap.Builder<String, String> builder = ImmutableListMultimap.builder();
          for (Map.Entry<String, ? extends Iterable<String>> e : parameters.entrySet()) {
              final String k = e.getKey();
              for (String v : e.getValue()) {
                  builder.put(k, v);
              }
          }
          return create(type, subtype, builder.build());
      }
docs: <em>Replaces</em> all parameters with the given parameters.
  
  @throws IllegalArgumentException if any parameter or value is invalid