@Deprecated
    public void setDimensions(java.util.Collection<Dimension> dimensions) {
        if (dimensions == null) {
            this.dimensions = null;
            return;
        }

        this.dimensions = new com.amazonaws.internal.SdkInternalList<Dimension>(dimensions);
    }
<p>
The metric dimensions associated with the anomaly detection model to delete.
</p>

@param dimensions
       The metric dimensions associated with the anomaly detection model to delete.
aws-java-sdk-cloudwatch/src/main/java/com/amazonaws/services/cloudwatch/model/DeleteAnomalyDetectorRequest.java