public void setDetectorId(String detectorId) {
        this.detectorId = detectorId;
    }
<p>
The unique ID of the detector that specifies the GuardDuty service where you want to update scan settings.
</p>

@param detectorId
       The unique ID of the detector that specifies the GuardDuty service where you want to update scan settings.
aws-java-sdk-guardduty/src/main/java/com/amazonaws/services/guardduty/model/UpdateMalwareScanSettingsRequest.java