code: public DescribeAlarmsForMetricResult withMetricAlarms(MetricAlarm... metricAlarms) {
          if (this.metricAlarms == null) {
              setMetricAlarms(new com.amazonaws.internal.SdkInternalList<MetricAlarm>(metricAlarms.length));
          }
          for (MetricAlarm ele : metricAlarms) {
              this.metricAlarms.add(ele);
          }
          return this;
      }
docs: <p>
  The information for each alarm with the specified metric.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setMetricAlarms(java.util.Collection)} or {@link #withMetricAlarms(java.util.Collection)} if you want to
  override the existing values.
  </p>
  
  @param metricAlarms
  The information for each alarm with the specified metric.
  @return Returns a reference to this object so that method calls can be chained together.