@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getCheckRunStatus() != null)
            sb.append("CheckRunStatus: ").append(getCheckRunStatus()).append(",");
        if (getCheckCompliant() != null)
            sb.append("CheckCompliant: ").append(getCheckCompliant()).append(",");
        if (getTotalResourcesCount() != null)
            sb.append("TotalResourcesCount: ").append(getTotalResourcesCount()).append(",");
        if (getNonCompliantResourcesCount() != null)
            sb.append("NonCompliantResourcesCount: ").append(getNonCompliantResourcesCount()).append(",");
        if (getSuppressedNonCompliantResourcesCount() != null)
            sb.append("SuppressedNonCompliantResourcesCount: ").append(getSuppressedNonCompliantResourcesCount()).append(",");
        if (getErrorCode() != null)
            sb.append("ErrorCode: ").append(getErrorCode()).append(",");
        if (getMessage() != null)
            sb.append("Message: ").append(getMessage());
        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-iot/src/main/java/com/amazonaws/services/iot/model/AuditCheckDetails.java