public UpdateMalwareScanSettingsRequest withScanResourceCriteria(ScanResourceCriteria scanResourceCriteria) {
        setScanResourceCriteria(scanResourceCriteria);
        return this;
    }
<p>
Represents the criteria to be used in the filter for selecting resources to scan.
</p>

@param scanResourceCriteria
       Represents the criteria to be used in the filter for selecting resources to scan.
@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/UpdateMalwareScanSettingsRequest.java