com.amazonaws.services.cloudwatch.model
Class DescribeAlarmsForMetricResult

java.lang.Object
  extended by com.amazonaws.services.cloudwatch.model.DescribeAlarmsForMetricResult

public class DescribeAlarmsForMetricResult
extends Object

The output for the DescribeAlarmsForMetric action.


Constructor Summary
DescribeAlarmsForMetricResult()
           
 
Method Summary
 boolean equals(Object obj)
           
 List<MetricAlarm> getMetricAlarms()
          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.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeAlarmsForMetricResult withMetricAlarms(Collection<MetricAlarm> metricAlarms)
          A list of information for each alarm with the specified metric.
 DescribeAlarmsForMetricResult withMetricAlarms(MetricAlarm... metricAlarms)
          A list of information for each alarm with the specified metric.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeAlarmsForMetricResult

public DescribeAlarmsForMetricResult()
Method Detail

getMetricAlarms

public List<MetricAlarm> 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

public void setMetricAlarms(Collection<MetricAlarm> metricAlarms)
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

public DescribeAlarmsForMetricResult withMetricAlarms(MetricAlarm... metricAlarms)
A list of information for each alarm with the specified metric.

Returns a reference to this object so that method calls can be chained together.

Parameters:
metricAlarms - A list of information for each alarm with the specified metric.
Returns:
A reference to this updated object so that method calls can be chained together.

withMetricAlarms

public DescribeAlarmsForMetricResult withMetricAlarms(Collection<MetricAlarm> metricAlarms)
A list of information for each alarm with the specified metric.

Returns a reference to this object so that method calls can be chained together.

Parameters:
metricAlarms - A list of information for each alarm with the specified metric.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.