code: public void add(Collection<ApplicationInstance> applicationInstances)
      {
          for(ApplicationInstance applicationInstance : applicationInstances)
              this.applicationInstances.put(applicationInstance.getId(), applicationInstance);
      }
docs: Adds the application instance list to the application instances for the account.
  @param applicationInstances The application instances to add