@Override public String toString(){
  StringBuilder imageName=new StringBuilder();
  if (host != null) {
    imageName.append(host);
    imageName.append(SECTION_SEPARATOR);
  }
  if (namespace != null) {
    imageName.append(namespace);
    imageName.append(SECTION_SEPARATOR);
  }
  imageName.append(repository);
  if (tag != null) {
    imageName.append(TAG_SEPARATOR);
    imageName.append(tag);
  }
  return imageName.toString();
}

@ Override public String toString ( ) { StringBuilder imageName = new StringBuilder ( ) ; if ( host != null ) { imageName . append ( host ) ; imageName . append ( SECTION_SEPARATOR ) ; } if ( namespace != null ) { imageName . append ( namespace ) ; imageName . append ( SECTION_SEPARATOR ) ; } imageName . append ( repository ) ; if ( tag != null ) { imageName . append ( TAG_SEPARATOR ) ; imageName . append ( tag ) ; } return imageName . toString ( ) ; }
convert to a canonical single string representation if no namespace provided , then the default will be used
