|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.cloudwatch.model.DescribeAlarmsResult
public class DescribeAlarmsResult
The output for the DescribeAlarms action.
Constructor Summary | |
---|---|
DescribeAlarmsResult()
|
Method Summary | |
---|---|
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. |
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DescribeAlarmsResult()
Method Detail |
---|
public List<MetricAlarm> getMetricAlarms()
public void setMetricAlarms(Collection<MetricAlarm> metricAlarms)
metricAlarms
- A list of information for the specified alarms.public DescribeAlarmsResult withMetricAlarms(MetricAlarm... metricAlarms)
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)
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()
public void setNextToken(String nextToken)
nextToken
- A string that marks the start of the next batch of returned results.public DescribeAlarmsResult withNextToken(String nextToken)
Returns a reference to this object so that method calls can be chained together.
nextToken
- A string that marks the start of the next batch of returned results.
public String toString()
toString
in class Object
Object.toString()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |