@Override
  public int getSSLPort() {
    if (hasSSLPort()) {
      return sslPort.getPort();
    } else {
      throw new IllegalStateException("No SSL port exists for the Data Node " + hostName + ":" + plainTextPort);
    }
  }
Instantiate a CloudDataNode object from hostname, port and datacentername.
ambry-clustermap/src/main/java/com/github/ambry/clustermap/CloudDataNode.java