public ListDetectorsResult withDetectorIds(String... detectorIds) {
        if (this.detectorIds == null) {
            setDetectorIds(new java.util.ArrayList<String>(detectorIds.length));
        }
        for (String ele : detectorIds) {
            this.detectorIds.add(ele);
        }
        return this;
    }
<p>
A list of detector IDs.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setDetectorIds(java.util.Collection)} or {@link #withDetectorIds(java.util.Collection)} if you want to
override the existing values.
</p>

@param detectorIds
       A list of detector IDs.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-guardduty/src/main/java/com/amazonaws/services/guardduty/model/ListDetectorsResult.java