code: public void setValues(java.util.Collection<Double> values) {
          if (values == null) {
              this.values = null;
              return;
          }
  
          this.values = new com.amazonaws.internal.SdkInternalList<Double>(values);
      }
docs: <p>
  Array of numbers representing the values for the metric during the period. Each unique value is listed just once
  in this array, and the corresponding number in the <code>Counts</code> array specifies the number of times that
  value occurred during the period. You can include up to 150 unique values in each <code>PutMetricData</code>
  action that specifies a <code>Values</code> array.
  </p>
  <p>
  Although the <code>Values</code> array accepts numbers of type <code>Double</code>, CloudWatch rejects values
  that are either too small or too large. Values must be in the range of 8.515920e-109 to 1.174271e+108 (Base 10)
  or 2e-360 to 2e360 (Base 2). In addition, special values (for example, NaN, +Infinity, -Infinity) are not
  supported.
  </p>
  
  @param values
  Array of numbers representing the values for the metric during the period. Each unique value is listed
  just once in this array, and the corresponding number in the <code>Counts</code> array specifies the
  number of times that value occurred during the period. You can include up to 150 unique values in each
  <code>PutMetricData</code> action that specifies a <code>Values</code> array.</p>
  <p>
  Although the <code>Values</code> array accepts numbers of type <code>Double</code>, CloudWatch rejects
  values that are either too small or too large. Values must be in the range of 8.515920e-109 to
  1.174271e+108 (Base 10) or 2e-360 to 2e360 (Base 2). In addition, special values (for example, NaN,
  +Infinity, -Infinity) are not supported.