@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getDefinition() != null)
            sb.append("Definition: ").append(getDefinition()).append(",");
        if (getEndedAt() != null)
            sb.append("EndedAt: ").append(getEndedAt()).append(",");
        if (getProcessExitCode() != null)
            sb.append("ProcessExitCode: ").append(getProcessExitCode()).append(",");
        if (getProgressMessage() != null)
            sb.append("ProgressMessage: ").append("***Sensitive Data Redacted***").append(",");
        if (getProgressPercent() != null)
            sb.append("ProgressPercent: ").append(getProgressPercent()).append(",");
        if (getSessionActionId() != null)
            sb.append("SessionActionId: ").append(getSessionActionId()).append(",");
        if (getSessionId() != null)
            sb.append("SessionId: ").append(getSessionId()).append(",");
        if (getStartedAt() != null)
            sb.append("StartedAt: ").append(getStartedAt()).append(",");
        if (getStatus() != null)
            sb.append("Status: ").append(getStatus()).append(",");
        if (getWorkerUpdatedAt() != null)
            sb.append("WorkerUpdatedAt: ").append(getWorkerUpdatedAt());
        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-deadline/src/main/java/com/amazonaws/services/deadline/model/GetSessionActionResult.java