public static String getInstanceName(String host, Integer port) {
    return port == null ? host : host + INSTANCE_NAME_DELIMITER + port;
  }
Construct and return the instance name given the host and port.
@param host the hostname of the instance.
@param port the port of the instance. Can be null.
@return the constructed instance name.
ambry-clustermap/src/main/java/com/github/ambry/clustermap/ClusterMapUtils.java