public ListAnomalousLogGroupsResult withAnomalousLogGroups(AnomalousLogGroup... anomalousLogGroups) {
        if (this.anomalousLogGroups == null) {
            setAnomalousLogGroups(new java.util.ArrayList<AnomalousLogGroup>(anomalousLogGroups.length));
        }
        for (AnomalousLogGroup ele : anomalousLogGroups) {
            this.anomalousLogGroups.add(ele);
        }
        return this;
    }
<p>
The list of Amazon CloudWatch log groups that are related to an insight.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setAnomalousLogGroups(java.util.Collection)} or {@link #withAnomalousLogGroups(java.util.Collection)} if
you want to override the existing values.
</p>

@param anomalousLogGroups
       The list of Amazon CloudWatch log groups that are related to an insight.
@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/ListAnomalousLogGroupsResult.java