@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeAlarmsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
DescribeAlarmsResult() |
| Modifier and Type | Method and Description |
|---|---|
DescribeAlarmsResult |
clone() |
boolean |
equals(Object obj) |
List<MetricAlarm> |
getMetricAlarms()
The information for the specified alarms.
|
String |
getNextToken()
The token that marks the start of the next batch of returned results.
|
int |
hashCode() |
void |
setMetricAlarms(Collection<MetricAlarm> metricAlarms)
The information for the specified alarms.
|
void |
setNextToken(String nextToken)
The token 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)
The information for the specified alarms.
|
DescribeAlarmsResult |
withMetricAlarms(MetricAlarm... metricAlarms)
The information for the specified alarms.
|
DescribeAlarmsResult |
withNextToken(String nextToken)
The token that marks the start of the next batch of returned results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<MetricAlarm> getMetricAlarms()
The information for the specified alarms.
public void setMetricAlarms(Collection<MetricAlarm> metricAlarms)
The information for the specified alarms.
metricAlarms - The information for the specified alarms.public DescribeAlarmsResult withMetricAlarms(MetricAlarm... metricAlarms)
The information for the specified alarms.
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 the specified alarms.public DescribeAlarmsResult withMetricAlarms(Collection<MetricAlarm> metricAlarms)
The information for the specified alarms.
metricAlarms - The information for the specified alarms.public void setNextToken(String nextToken)
The token that marks the start of the next batch of returned results.
nextToken - The token that marks the start of the next batch of returned results.public String getNextToken()
The token that marks the start of the next batch of returned results.
public DescribeAlarmsResult withNextToken(String nextToken)
The token that marks the start of the next batch of returned results.
nextToken - The token that marks the start of the next batch of returned results.public String toString()
toString in class ObjectObject.toString()public DescribeAlarmsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.