@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getConsumerGroupReplication() != null)
            sb.append("ConsumerGroupReplication: ").append(getConsumerGroupReplication()).append(",");
        if (getSourceKafkaClusterArn() != null)
            sb.append("SourceKafkaClusterArn: ").append(getSourceKafkaClusterArn()).append(",");
        if (getTargetCompressionType() != null)
            sb.append("TargetCompressionType: ").append(getTargetCompressionType()).append(",");
        if (getTargetKafkaClusterArn() != null)
            sb.append("TargetKafkaClusterArn: ").append(getTargetKafkaClusterArn()).append(",");
        if (getTopicReplication() != null)
            sb.append("TopicReplication: ").append(getTopicReplication());
        sb.append("}");
        return sb.toString();
    }
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
redacted from this string using a placeholder value.

@return A string representation of this object.

@see java.lang.Object#toString()
aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/ReplicationInfo.java