@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeAlarmsForMetricResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeAlarmsForMetricResult() |
Modifier and Type | Method and Description |
---|---|
DescribeAlarmsForMetricResult |
clone() |
boolean |
equals(Object obj) |
List<MetricAlarm> |
getMetricAlarms()
The information for each alarm with the specified metric.
|
int |
hashCode() |
void |
setMetricAlarms(Collection<MetricAlarm> metricAlarms)
The 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)
The information for each alarm with the specified metric.
|
DescribeAlarmsForMetricResult |
withMetricAlarms(MetricAlarm... metricAlarms)
The information for each alarm with the specified metric.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<MetricAlarm> getMetricAlarms()
The information for each alarm with the specified metric.
public void setMetricAlarms(Collection<MetricAlarm> metricAlarms)
The information for each alarm with the specified metric.
metricAlarms
- The information for each alarm with the specified metric.public DescribeAlarmsForMetricResult withMetricAlarms(MetricAlarm... metricAlarms)
The 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)
or withMetricAlarms(java.util.Collection)
if you want to
override the existing values.
metricAlarms
- The information for each alarm with the specified metric.public DescribeAlarmsForMetricResult withMetricAlarms(Collection<MetricAlarm> metricAlarms)
The information for each alarm with the specified metric.
metricAlarms
- The information for each alarm with the specified metric.public String toString()
toString
in class Object
Object.toString()
public DescribeAlarmsForMetricResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.