public void setDetectorId(String detectorId) {
        this.detectorId = detectorId;
    }
<p>
The ID of the detector to create sample findings for.
</p>

@param detectorId
       The ID of the detector to create sample findings for.
aws-java-sdk-guardduty/src/main/java/com/amazonaws/services/guardduty/model/CreateSampleFindingsRequest.java