DcClusterShard { @Override public String toString() { return "DcClusterShard{" + "dcId='" + dcId + '\'' + ", clusterId='" + clusterId + '\'' + ", shardId='" + shardId + '\'' + '}'; } DcClusterShard(String dcId, String clusterId, String shardId); String getDcId(); String getClusterId(); String getShardId(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }
@Test public void testToString() { logger.info("{}", dcClusterShard.toString()); }