@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<CompositeAlarm> |
getCompositeAlarms()
The information about any composite alarms returned by the operation.
|
List<MetricAlarm> |
getMetricAlarms()
The information about any metric alarms returned by the operation.
|
String |
getNextToken()
The token that marks the start of the next batch of returned results.
|
int |
hashCode() |
void |
setCompositeAlarms(Collection<CompositeAlarm> compositeAlarms)
The information about any composite alarms returned by the operation.
|
void |
setMetricAlarms(Collection<MetricAlarm> metricAlarms)
The information about any metric alarms returned by the operation.
|
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.
|
DescribeAlarmsResult |
withCompositeAlarms(Collection<CompositeAlarm> compositeAlarms)
The information about any composite alarms returned by the operation.
|
DescribeAlarmsResult |
withCompositeAlarms(CompositeAlarm... compositeAlarms)
The information about any composite alarms returned by the operation.
|
DescribeAlarmsResult |
withMetricAlarms(Collection<MetricAlarm> metricAlarms)
The information about any metric alarms returned by the operation.
|
DescribeAlarmsResult |
withMetricAlarms(MetricAlarm... metricAlarms)
The information about any metric alarms returned by the operation.
|
DescribeAlarmsResult |
withNextToken(String nextToken)
The token that marks the start of the next batch of returned results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<CompositeAlarm> getCompositeAlarms()
The information about any composite alarms returned by the operation.
public void setCompositeAlarms(Collection<CompositeAlarm> compositeAlarms)
The information about any composite alarms returned by the operation.
compositeAlarms
- The information about any composite alarms returned by the operation.public DescribeAlarmsResult withCompositeAlarms(CompositeAlarm... compositeAlarms)
The information about any composite alarms returned by the operation.
NOTE: This method appends the values to the existing list (if any). Use
setCompositeAlarms(java.util.Collection)
or withCompositeAlarms(java.util.Collection)
if you
want to override the existing values.
compositeAlarms
- The information about any composite alarms returned by the operation.public DescribeAlarmsResult withCompositeAlarms(Collection<CompositeAlarm> compositeAlarms)
The information about any composite alarms returned by the operation.
compositeAlarms
- The information about any composite alarms returned by the operation.public List<MetricAlarm> getMetricAlarms()
The information about any metric alarms returned by the operation.
public void setMetricAlarms(Collection<MetricAlarm> metricAlarms)
The information about any metric alarms returned by the operation.
metricAlarms
- The information about any metric alarms returned by the operation.public DescribeAlarmsResult withMetricAlarms(MetricAlarm... metricAlarms)
The information about any metric alarms returned by the operation.
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 about any metric alarms returned by the operation.public DescribeAlarmsResult withMetricAlarms(Collection<MetricAlarm> metricAlarms)
The information about any metric alarms returned by the operation.
metricAlarms
- The information about any metric alarms returned by the operation.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 Object
Object.toString()
public DescribeAlarmsResult clone()