Class DescribeAlarmsResult
java.lang.Object
com.amazonaws.services.cloudwatch.model.DescribeAlarmsResult
- All Implemented Interfaces:
Serializable
,Cloneable
The output for the DescribeAlarms action.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
A list of information for the specified alarms.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.toString()
Returns a string representation of this object; useful for testing and debugging.withMetricAlarms
(MetricAlarm... metricAlarms) A list of information for the specified alarms.withMetricAlarms
(Collection<MetricAlarm> metricAlarms) A list of information for the specified alarms.withNextToken
(String nextToken) A string that marks the start of the next batch of returned results.
-
Constructor Details
-
DescribeAlarmsResult
public DescribeAlarmsResult()
-
-
Method Details
-
getMetricAlarms
A list of information for the specified alarms.
- Returns:
- A list of information for the specified alarms.
-
setMetricAlarms
A list of information for the specified alarms.
- Parameters:
metricAlarms
- A list of information for the specified alarms.
-
withMetricAlarms
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)
orwithMetricAlarms(java.util.Collection)
if you want to override the existing values.- Parameters:
metricAlarms
- A list of information for the specified alarms.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withMetricAlarms
A list of information for the specified alarms.
- Parameters:
metricAlarms
- A list of information for the specified alarms.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
A string that marks the start of the next batch of returned results.
- Parameters:
nextToken
- A string that marks the start of the next batch of returned results.
-
getNextToken
A string that marks the start of the next batch of returned results.
- Returns:
- A string that marks the start of the next batch of returned results.
-
withNextToken
A string that marks the start of the next batch of returned results.
- Parameters:
nextToken
- A string that marks the start of the next batch of returned results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-