@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getFailedChecks() != null)
            sb.append("FailedChecks: ").append(getFailedChecks()).append(",");
        if (getScanArn() != null)
            sb.append("ScanArn: ").append(getScanArn()).append(",");
        if (getScanConfigurationArn() != null)
            sb.append("ScanConfigurationArn: ").append(getScanConfigurationArn()).append(",");
        if (getScanDate() != null)
            sb.append("ScanDate: ").append(getScanDate()).append(",");
        if (getScanName() != null)
            sb.append("ScanName: ").append(getScanName()).append(",");
        if (getScheduledBy() != null)
            sb.append("ScheduledBy: ").append(getScheduledBy()).append(",");
        if (getSecurityLevel() != null)
            sb.append("SecurityLevel: ").append(getSecurityLevel()).append(",");
        if (getStatus() != null)
            sb.append("Status: ").append(getStatus()).append(",");
        if (getTargets() != null)
            sb.append("Targets: ").append(getTargets()).append(",");
        if (getTotalChecks() != null)
            sb.append("TotalChecks: ").append(getTotalChecks());
        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-inspector2/src/main/java/com/amazonaws/services/inspector2/model/CisScan.java