code: public void setApplication(String appName) {
          applicationName = appName;
          String storageService = lookupStorageServiceByApp(getRestClient(), applicationName);
          setStorageService(storageService);
      }
docs: Set the given application name as context for all future commands. This method can
  be used when an application name was not given in a constructor.
  
  @param appName   Application name that is used for application-specific commands
  called from this point forward.