* The information for each alarm with the specified metric. *
*/ private com.amazonaws.internal.SdkInternalList* The information for each alarm with the specified metric. *
* * @return The information for each alarm with the specified metric. */ public java.util.List* The information for each alarm with the specified metric. *
* * @param metricAlarms * The information for each alarm with the specified metric. */ public void setMetricAlarms(java.util.Collection* The information for each alarm with the specified metric. *
** NOTE: 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. *
* * @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. */ public DescribeAlarmsForMetricResult withMetricAlarms(MetricAlarm... metricAlarms) { if (this.metricAlarms == null) { setMetricAlarms(new com.amazonaws.internal.SdkInternalList* The information for each alarm with the specified metric. *
* * @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. */ public DescribeAlarmsForMetricResult withMetricAlarms(java.util.Collection