public ListMetricAttributionsResult withMetricAttributions(MetricAttributionSummary... metricAttributions) {
        if (this.metricAttributions == null) {
            setMetricAttributions(new java.util.ArrayList<MetricAttributionSummary>(metricAttributions.length));
        }
        for (MetricAttributionSummary ele : metricAttributions) {
            this.metricAttributions.add(ele);
        }
        return this;
    }
<p>
The list of metric attributions.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setMetricAttributions(java.util.Collection)} or {@link #withMetricAttributions(java.util.Collection)} if
you want to override the existing values.
</p>

@param metricAttributions
       The list of metric attributions.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-personalize/src/main/java/com/amazonaws/services/personalize/model/ListMetricAttributionsResult.java