@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getReplicationConfigIdentifier() != null)
            sb.append("ReplicationConfigIdentifier: ").append(getReplicationConfigIdentifier()).append(",");
        if (getReplicationConfigArn() != null)
            sb.append("ReplicationConfigArn: ").append(getReplicationConfigArn()).append(",");
        if (getSourceEndpointArn() != null)
            sb.append("SourceEndpointArn: ").append(getSourceEndpointArn()).append(",");
        if (getTargetEndpointArn() != null)
            sb.append("TargetEndpointArn: ").append(getTargetEndpointArn()).append(",");
        if (getReplicationType() != null)
            sb.append("ReplicationType: ").append(getReplicationType()).append(",");
        if (getStatus() != null)
            sb.append("Status: ").append(getStatus()).append(",");
        if (getProvisionData() != null)
            sb.append("ProvisionData: ").append(getProvisionData()).append(",");
        if (getStopReason() != null)
            sb.append("StopReason: ").append(getStopReason()).append(",");
        if (getFailureMessages() != null)
            sb.append("FailureMessages: ").append(getFailureMessages()).append(",");
        if (getReplicationStats() != null)
            sb.append("ReplicationStats: ").append(getReplicationStats()).append(",");
        if (getStartReplicationType() != null)
            sb.append("StartReplicationType: ").append(getStartReplicationType()).append(",");
        if (getCdcStartTime() != null)
            sb.append("CdcStartTime: ").append(getCdcStartTime()).append(",");
        if (getCdcStartPosition() != null)
            sb.append("CdcStartPosition: ").append(getCdcStartPosition()).append(",");
        if (getCdcStopPosition() != null)
            sb.append("CdcStopPosition: ").append(getCdcStopPosition()).append(",");
        if (getRecoveryCheckpoint() != null)
            sb.append("RecoveryCheckpoint: ").append(getRecoveryCheckpoint()).append(",");
        if (getReplicationCreateTime() != null)
            sb.append("ReplicationCreateTime: ").append(getReplicationCreateTime()).append(",");
        if (getReplicationUpdateTime() != null)
            sb.append("ReplicationUpdateTime: ").append(getReplicationUpdateTime()).append(",");
        if (getReplicationLastStopTime() != null)
            sb.append("ReplicationLastStopTime: ").append(getReplicationLastStopTime()).append(",");
        if (getReplicationDeprovisionTime() != null)
            sb.append("ReplicationDeprovisionTime: ").append(getReplicationDeprovisionTime());
        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-dms/src/main/java/com/amazonaws/services/databasemigrationservice/model/Replication.java