@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getPending() != null)
            sb.append("Pending: ").append(getPending()).append(",");
        if (getRunning() != null)
            sb.append("Running: ").append(getRunning()).append(",");
        if (getSucceeded() != null)
            sb.append("Succeeded: ").append(getSucceeded()).append(",");
        if (getFailed() != null)
            sb.append("Failed: ").append(getFailed()).append(",");
        if (getTimedOut() != null)
            sb.append("TimedOut: ").append(getTimedOut()).append(",");
        if (getAborted() != null)
            sb.append("Aborted: ").append(getAborted()).append(",");
        if (getTotal() != null)
            sb.append("Total: ").append(getTotal()).append(",");
        if (getResultsWritten() != null)
            sb.append("ResultsWritten: ").append(getResultsWritten()).append(",");
        if (getFailuresNotRedrivable() != null)
            sb.append("FailuresNotRedrivable: ").append(getFailuresNotRedrivable()).append(",");
        if (getPendingRedrive() != null)
            sb.append("PendingRedrive: ").append(getPendingRedrive());
        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-stepfunctions/src/main/java/com/amazonaws/services/stepfunctions/model/MapRunItemCounts.java