code: public URL getURL() throws MalformedURLException{
  		StringBuilder stringBuilder = new StringBuilder();
  		stringBuilder.append(apiId);
  		if(apiVersion!=null){
  			stringBuilder.append(DOT);
  			stringBuilder.append(apiVersion);
  		}
  		stringBuilder.append(DOT);
  		stringBuilder.append(authority);
  		URL url = new URL((protocol!=null?protocol+"://":"")+stringBuilder.toString());
  		return url;
  	}
docs: <p>getURL.</p>
  
  @return a {@link java.net.URL} object.
  @throws java.net.MalformedURLException if any.