public EbsVolumeScanDetails withScanType(String scanType) {
        setScanType(scanType);
        return this;
    }
<p>
Specifies the scan type that invoked the malware scan.
</p>

@param scanType
       Specifies the scan type that invoked the malware scan.
@return Returns a reference to this object so that method calls can be chained together.
@see ScanType
aws-java-sdk-guardduty/src/main/java/com/amazonaws/services/guardduty/model/EbsVolumeScanDetails.java