docs: public void setMetricAlarms(java.util.Collection<MetricAlarm> metricAlarms) {
          if (metricAlarms == null) {
              this.metricAlarms = null;
              return;
          }
  
          this.metricAlarms = new com.amazonaws.internal.SdkInternalList<MetricAlarm>(metricAlarms);
      }