public DescribeAnomalyDetectorsRequest withAnomalyDetectorTypes(AnomalyDetectorType... anomalyDetectorTypes) {
        com.amazonaws.internal.SdkInternalList<String> anomalyDetectorTypesCopy = new com.amazonaws.internal.SdkInternalList<String>(
                anomalyDetectorTypes.length);
        for (AnomalyDetectorType value : anomalyDetectorTypes) {
            anomalyDetectorTypesCopy.add(value.toString());
        }
        if (getAnomalyDetectorTypes() == null) {
            setAnomalyDetectorTypes(anomalyDetectorTypesCopy);
        } else {
            getAnomalyDetectorTypes().addAll(anomalyDetectorTypesCopy);
        }
        return this;
    }
<p>
The anomaly detector types to request when using <code>DescribeAnomalyDetectorsInput</code>. If empty, defaults
to <code>SINGLE_METRIC</code>.
</p>

@param anomalyDetectorTypes
       The anomaly detector types to request when using <code>DescribeAnomalyDetectorsInput</code>. If empty,
       defaults to <code>SINGLE_METRIC</code>.
@return Returns a reference to this object so that method calls can be chained together.
@see AnomalyDetectorType
aws-java-sdk-cloudwatch/src/main/java/com/amazonaws/services/cloudwatch/model/DescribeAnomalyDetectorsRequest.java