Class DescribeAlarmsForMetricResult
java.lang.Object
com.amazonaws.services.cloudwatch.model.DescribeAlarmsForMetricResult
- All Implemented Interfaces:
Serializable
,Cloneable
The output for the DescribeAlarmsForMetric action.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
A list of information for each alarm with the specified metric.int
hashCode()
void
setMetricAlarms
(Collection<MetricAlarm> metricAlarms) A list of information for each alarm with the specified metric.toString()
Returns a string representation of this object; useful for testing and debugging.withMetricAlarms
(MetricAlarm... metricAlarms) A list of information for each alarm with the specified metric.withMetricAlarms
(Collection<MetricAlarm> metricAlarms) A list of information for each alarm with the specified metric.
-
Constructor Details
-
DescribeAlarmsForMetricResult
public DescribeAlarmsForMetricResult()
-
-
Method Details
-
getMetricAlarms
A list of information for each alarm with the specified metric.
- Returns:
- A list of information for each alarm with the specified metric.
-
setMetricAlarms
A list of information for each alarm with the specified metric.
- Parameters:
metricAlarms
- A list of information for each alarm with the specified metric.
-
withMetricAlarms
A list of information for each alarm with the specified metric.
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 each alarm with the specified metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withMetricAlarms
A list of information for each alarm with the specified metric.
- Parameters:
metricAlarms
- A list of information for each alarm with the specified metric.- 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
-