@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getScanId() != null)
            sb.append("ScanId: ").append(getScanId()).append(",");
        if (getScanStartedAt() != null)
            sb.append("ScanStartedAt: ").append(getScanStartedAt()).append(",");
        if (getScanCompletedAt() != null)
            sb.append("ScanCompletedAt: ").append(getScanCompletedAt()).append(",");
        if (getTriggerFindingId() != null)
            sb.append("TriggerFindingId: ").append(getTriggerFindingId()).append(",");
        if (getSources() != null)
            sb.append("Sources: ").append(getSources()).append(",");
        if (getScanDetections() != null)
            sb.append("ScanDetections: ").append(getScanDetections()).append(",");
        if (getScanType() != null)
            sb.append("ScanType: ").append(getScanType());
        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-guardduty/src/main/java/com/amazonaws/services/guardduty/model/EbsVolumeScanDetails.java