public void setAnomalies(java.util.Collection<Anomaly> anomalies) {
        if (anomalies == null) {
            this.anomalies = null;
            return;
        }

        this.anomalies = new java.util.ArrayList<Anomaly>(anomalies);
    }
<p>
A list of cost anomalies.
</p>

@param anomalies
       A list of cost anomalies.
aws-java-sdk-costexplorer/src/main/java/com/amazonaws/services/costexplorer/model/GetAnomaliesResult.java