code: public Collection<ApplicationInstance> list(long applicationId, List<String> queryParams)
      {
          return HTTP.GET(String.format("/v2/applications/%d/instances.json", applicationId), null, queryParams, APPLICATION_INSTANCES).get();
      }
docs: Returns the set of application instances with the given query parameters.
  @param applicationId The application id
  @param queryParams The query parameters
  @return The set of application instances