code: public ApiResponse createStreamingProfile(String name, String displayName, List<Map> representations, Map options) throws Exception {
          if (options == null)
              options = ObjectUtils.emptyMap();
          List<Map> serializedRepresentations = new ArrayList<Map>(representations.size());
          for (Map t : representations) {
              final Object transformation = t.get("transformation");
              serializedRepresentations.add(ObjectUtils.asMap("transformation", transformation.toString()));
          }
          List<String> uri = Collections.singletonList("streaming_profiles");
          final Map params = ObjectUtils.asMap(
                  "name", name,
                  "representations", new JSONArray(serializedRepresentations.toArray())
          );
          if (displayName != null) {
              params.put("display_name", displayName);
          }
          return callApi(HttpMethod.POST, uri, params, options);
      }
docs: Create a new streaming profile
  
  @param name            the of the profile
  @param displayName     the display name of the profile
  @param representations a collection of Maps with a transformation key
  @param options         additional options
  @return the new streaming profile
  @throws Exception an exception