@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getFindingId() != null)
            sb.append("FindingId: ").append(getFindingId()).append(",");
        if (getTaskId() != null)
            sb.append("TaskId: ").append(getTaskId()).append(",");
        if (getCheckName() != null)
            sb.append("CheckName: ").append(getCheckName()).append(",");
        if (getTaskStartTime() != null)
            sb.append("TaskStartTime: ").append(getTaskStartTime()).append(",");
        if (getFindingTime() != null)
            sb.append("FindingTime: ").append(getFindingTime()).append(",");
        if (getSeverity() != null)
            sb.append("Severity: ").append(getSeverity()).append(",");
        if (getNonCompliantResource() != null)
            sb.append("NonCompliantResource: ").append(getNonCompliantResource()).append(",");
        if (getRelatedResources() != null)
            sb.append("RelatedResources: ").append(getRelatedResources()).append(",");
        if (getReasonForNonCompliance() != null)
            sb.append("ReasonForNonCompliance: ").append(getReasonForNonCompliance()).append(",");
        if (getReasonForNonComplianceCode() != null)
            sb.append("ReasonForNonComplianceCode: ").append(getReasonForNonComplianceCode()).append(",");
        if (getIsSuppressed() != null)
            sb.append("IsSuppressed: ").append(getIsSuppressed());
        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/AuditFinding.java