public InterMetricImpactDetails withAnomalyGroupId(String anomalyGroupId) {
        setAnomalyGroupId(anomalyGroupId);
        return this;
    }
<p>
The ID of the anomaly group.
</p>

@param anomalyGroupId
       The ID of the anomaly group.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lookoutmetrics/src/main/java/com/amazonaws/services/lookoutmetrics/model/InterMetricImpactDetails.java