public class DescribeAlarmsResult extends Object implements Serializable, Cloneable
The output for the DescribeAlarms action.
| Constructor and Description |
|---|
DescribeAlarmsResult() |
| Modifier and Type | Method and Description |
|---|---|
DescribeAlarmsResult |
clone() |
boolean |
equals(Object obj) |
List<MetricAlarm> |
getMetricAlarms()
A list of information for the specified alarms.
|
String |
getNextToken()
A string that marks the start of the next batch of returned results.
|
int |
hashCode() |
void |
setMetricAlarms(Collection<MetricAlarm> metricAlarms)
A list of information for the specified alarms.
|
void |
setNextToken(String nextToken)
A string that marks the start of the next batch of returned results.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeAlarmsResult |
withMetricAlarms(Collection<MetricAlarm> metricAlarms)
A list of information for the specified alarms.
|
DescribeAlarmsResult |
withMetricAlarms(MetricAlarm... metricAlarms)
A list of information for the specified alarms.
|
DescribeAlarmsResult |
withNextToken(String nextToken)
A string that marks the start of the next batch of returned results.
|
public List<MetricAlarm> getMetricAlarms()
A list of information for the specified alarms.
public void setMetricAlarms(Collection<MetricAlarm> metricAlarms)
A list of information for the specified alarms.
metricAlarms - A list of information for the specified alarms.public DescribeAlarmsResult withMetricAlarms(MetricAlarm... metricAlarms)
A list of information for the specified alarms.
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 the specified alarms.public DescribeAlarmsResult withMetricAlarms(Collection<MetricAlarm> metricAlarms)
A list of information for the specified alarms.
metricAlarms - A list of information for the specified alarms.public void setNextToken(String nextToken)
A string that marks the start of the next batch of returned results.
nextToken - A string that marks the start of the next batch of returned
results.public String getNextToken()
A string that marks the start of the next batch of returned results.
public DescribeAlarmsResult withNextToken(String nextToken)
A string that marks the start of the next batch of returned results.
nextToken - A string that marks the start of the next batch of returned
results.public String toString()
toString in class ObjectObject.toString()public DescribeAlarmsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.