client-api/src/main/java/com/streamsets/datacollector/client/ApiClient.java
public ApiClient setDPMBaseURL(String dpmBaseURL) {
    if(dpmBaseURL != null && authentication != null) {
      authentication.setDPMBaseURL(dpmBaseURL);
    }
    return this;
  }
public ApiClient setDPMBaseURL(String dpmBaseURL) {
    if(dpmBaseURL != null && authentication != null) {
      authentication.setDPMBaseURL(dpmBaseURL);
    }
    return this;
  }
Helper method to set dpmBaseURL for the first HTTP DPM authentication.