@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getCompleted() != null)
            sb.append("Completed: ").append(getCompleted()).append(",");
        if (getInProgress() != null)
            sb.append("InProgress: ").append(getInProgress()).append(",");
        if (getRetryableError() != null)
            sb.append("RetryableError: ").append(getRetryableError()).append(",");
        if (getNonRetryableError() != null)
            sb.append("NonRetryableError: ").append(getNonRetryableError()).append(",");
        if (getStopped() != null)
            sb.append("Stopped: ").append(getStopped());
        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-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/TrainingJobStatusCounters.java