public EbsVolumeScanDetails withScanId(String scanId) {
        setScanId(scanId);
        return this;
    }
<p>
Unique Id of the malware scan that generated the finding.
</p>

@param scanId
       Unique Id of the malware scan that generated the finding.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-guardduty/src/main/java/com/amazonaws/services/guardduty/model/EbsVolumeScanDetails.java