public MetricDataResult withValues(Long... values) {
        if (this.values == null) {
            setValues(new java.util.ArrayList<Long>(values.length));
        }
        for (Long ele : values) {
            this.values.add(ele);
        }
        return this;
    }
<p>
A list of values (cumulative / sum) for the metric data results.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setValues(java.util.Collection)} or {@link #withValues(java.util.Collection)} if you want to override the
existing values.
</p>

@param values
       A list of values (cumulative / sum) for the metric data results.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-sesv2/src/main/java/com/amazonaws/services/simpleemailv2/model/MetricDataResult.java