public class DescribeAlarmsForMetricResult
extends java.lang.Object
implements java.io.Serializable
The output for the DescribeAlarmsForMetric action.
| Constructor and Description |
|---|
DescribeAlarmsForMetricResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<MetricAlarm> |
getMetricAlarms()
A list of information for each alarm with the specified metric.
|
int |
hashCode() |
void |
setMetricAlarms(java.util.Collection<MetricAlarm> metricAlarms)
A list of information for each alarm with the specified metric.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeAlarmsForMetricResult |
withMetricAlarms(java.util.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 java.util.List<MetricAlarm> getMetricAlarms()
A list of information for each alarm with the specified metric.
A list of information for each alarm with the specified metric.
public void setMetricAlarms(java.util.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.
Returns a reference to this object so that method calls can be chained together.
metricAlarms - A list of information for each alarm with the specified metric.
public DescribeAlarmsForMetricResult withMetricAlarms(java.util.Collection<MetricAlarm> metricAlarms)
A list of information for each alarm with the specified metric.
Returns a reference to this object so that method calls can be chained together.
metricAlarms - A list of information for each alarm with the specified metric.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.