@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getAgentLastSeenByServiceDateTime() != null)
            sb.append("AgentLastSeenByServiceDateTime: ").append(getAgentLastSeenByServiceDateTime()).append(",");
        if (getElapsedReplicationDuration() != null)
            sb.append("ElapsedReplicationDuration: ").append(getElapsedReplicationDuration()).append(",");
        if (getFailbackClientID() != null)
            sb.append("FailbackClientID: ").append(getFailbackClientID()).append(",");
        if (getFailbackClientLastSeenByServiceDateTime() != null)
            sb.append("FailbackClientLastSeenByServiceDateTime: ").append(getFailbackClientLastSeenByServiceDateTime()).append(",");
        if (getFailbackInitiationTime() != null)
            sb.append("FailbackInitiationTime: ").append(getFailbackInitiationTime()).append(",");
        if (getFailbackJobID() != null)
            sb.append("FailbackJobID: ").append(getFailbackJobID()).append(",");
        if (getFailbackLaunchType() != null)
            sb.append("FailbackLaunchType: ").append(getFailbackLaunchType()).append(",");
        if (getFailbackToOriginalServer() != null)
            sb.append("FailbackToOriginalServer: ").append(getFailbackToOriginalServer()).append(",");
        if (getFirstByteDateTime() != null)
            sb.append("FirstByteDateTime: ").append(getFirstByteDateTime()).append(",");
        if (getState() != null)
            sb.append("State: ").append(getState());
        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-drs/src/main/java/com/amazonaws/services/drs/model/RecoveryInstanceFailback.java