public class DescribeAlarmsResult extends Object implements Serializable
The output for the DescribeAlarms action.
| Constructor and Description |
|---|
DescribeAlarmsResult() |
| Modifier and Type | Method and Description |
|---|---|
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.
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.
Returns a reference to this object so that method calls can be chained together.
metricAlarms - A list of information for the specified alarms.
public DescribeAlarmsResult withMetricAlarms(Collection<MetricAlarm> metricAlarms)
A list of information for the specified alarms.
Returns a reference to this object so that method calls can be chained together.
metricAlarms - A list of information for the specified alarms.
public String getNextToken()
A string that marks the start of the next batch of returned results.
Constraints:
Length: 0 - 1024
A string that marks the start of the next batch of returned results.
public void setNextToken(String nextToken)
A string that marks the start of the next batch of returned results.
Constraints:
Length: 0 - 1024
nextToken - 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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 1024
nextToken - A string that marks the start of the next batch of returned results.
public String toString()
toString in class ObjectObject.toString()Copyright © 2018. All rights reserved.