public class DescribeAlarmsForMetricResult extends Object implements Serializable, Cloneable
The output for the DescribeAlarmsForMetric action.
| Constructor and Description |
|---|
DescribeAlarmsForMetricResult() |
| Modifier and Type | Method and Description |
|---|---|
DescribeAlarmsForMetricResult |
clone() |
boolean |
equals(Object obj) |
List<MetricAlarm> |
getMetricAlarms()
A list of information for each alarm with the specified metric.
|
int |
hashCode() |
void |
setMetricAlarms(Collection<MetricAlarm> metricAlarms)
A list of information for each alarm with the specified metric.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeAlarmsForMetricResult |
withMetricAlarms(Collection<MetricAlarm> metricAlarms)
A list of information for each alarm with the specified metric.
|
DescribeAlarmsForMetricResult |
withMetricAlarms(MetricAlarm... metricAlarms)
A list of information for each alarm with the specified metric.
|
public List<MetricAlarm> getMetricAlarms()
A list of information for each alarm with the specified metric.
public void setMetricAlarms(Collection<MetricAlarm> metricAlarms)
A list of information for each alarm with the specified metric.
metricAlarms - A list of information for each alarm with the specified metric.public DescribeAlarmsForMetricResult withMetricAlarms(MetricAlarm... metricAlarms)
A list of information for each alarm with the specified metric.
NOTE: This method appends the values to the existing list (if
any). Use setMetricAlarms(java.util.Collection) or
withMetricAlarms(java.util.Collection) if you want to override
the existing values.
metricAlarms - A list of information for each alarm with the specified metric.public DescribeAlarmsForMetricResult withMetricAlarms(Collection<MetricAlarm> metricAlarms)
A list of information for each alarm with the specified metric.
metricAlarms - A list of information for each alarm with the specified metric.public String toString()
toString in class ObjectObject.toString()public DescribeAlarmsForMetricResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.