@Deprecated
    public PutAnomalyDetectorRequest withDimensions(java.util.Collection<Dimension> dimensions) {
        setDimensions(dimensions);
        return this;
    }
<p>
The metric dimensions to create the anomaly detection model for.
</p>

@param dimensions
       The metric dimensions to create the anomaly detection model for.
@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/PutAnomalyDetectorRequest.java