public void setDetectors(java.util.Collection<Detector> detectors) {
        if (detectors == null) {
            this.detectors = null;
            return;
        }

        this.detectors = new java.util.ArrayList<Detector>(detectors);
    }
<p>
The detectors.
</p>

@param detectors
       The detectors.
aws-java-sdk-frauddetector/src/main/java/com/amazonaws/services/frauddetector/model/GetDetectorsResult.java