public ProactiveAnomaly withAssociatedInsightId(String associatedInsightId) {
        setAssociatedInsightId(associatedInsightId);
        return this;
    }
<p>
The ID of the insight that contains this anomaly. An insight is composed of related anomalies.
</p>

@param associatedInsightId
       The ID of the insight that contains this anomaly. An insight is composed of related anomalies.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-devopsguru/src/main/java/com/amazonaws/services/devopsguru/model/ProactiveAnomaly.java