public GetDetectorsResult withDetectors(java.util.Collection<Detector> detectors) {
        setDetectors(detectors);
        return this;
    }
<p>
The detectors.
</p>

@param detectors
       The detectors.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-frauddetector/src/main/java/com/amazonaws/services/frauddetector/model/GetDetectorsResult.java