public DescribeAnomalyDetectorsResult withAnomalyDetectors(AnomalyDetector... anomalyDetectors) {
        if (this.anomalyDetectors == null) {
            setAnomalyDetectors(new com.amazonaws.internal.SdkInternalList<AnomalyDetector>(anomalyDetectors.length));
        }
        for (AnomalyDetector ele : anomalyDetectors) {
            this.anomalyDetectors.add(ele);
        }
        return this;
    }
<p>
The list of anomaly detection models returned by the operation.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setAnomalyDetectors(java.util.Collection)} or {@link #withAnomalyDetectors(java.util.Collection)} if you
want to override the existing values.
</p>

@param anomalyDetectors
       The list of anomaly detection models returned by the operation.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cloudwatch/src/main/java/com/amazonaws/services/cloudwatch/model/DescribeAnomalyDetectorsResult.java