public GetDetectorsResult withDetectors(Detector... detectors) {
        if (this.detectors == null) {
            setDetectors(new java.util.ArrayList<Detector>(detectors.length));
        }
        for (Detector ele : detectors) {
            this.detectors.add(ele);
        }
        return this;
    }
<p>
The detectors.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setDetectors(java.util.Collection)} or {@link #withDetectors(java.util.Collection)} if you want to
override the existing values.
</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