@Override
  public Port getPortToConnectTo() {
    if (enableHttp2Replication) {
      return http2Port;
    }
    return sslEnabledDataCenters.contains(getDatacenterName()) ? sslPort : plainTextPort;
  }
Instantiate a CloudDataNode object from hostname, port and datacentername.
ambry-clustermap/src/main/java/com/github/ambry/clustermap/CloudDataNode.java