|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Beta public interface AlarmApi
Provides access to Amazon CloudWatch via the Query API
AlarmAsyncApi,
| Method Summary | |
|---|---|
void |
delete(Iterable<String> alarmNames)
Deletes all specified alarms. |
void |
disable(Iterable<String> alarmNames)
Disables actions for the specified alarms. |
void |
enable(Iterable<String> alarmNames)
Enables actions for the specified alarms. |
org.jclouds.collect.PagedIterable<Alarm> |
list()
Return all alarms. |
org.jclouds.collect.PagedIterable<Alarm> |
list(ListAlarmsOptions options)
Return all alarms based on the options query |
org.jclouds.collect.IterableWithMarker<Alarm> |
listAt(String nextToken)
Return a single page of alarms based on the options query |
com.google.common.collect.FluentIterable<Alarm> |
listForMetric(ListAlarmsForMetric options)
Return alarms all alarms for a single metric. |
org.jclouds.collect.PagedIterable<AlarmHistoryItem> |
listHistory()
Return all history for all alarms. |
org.jclouds.collect.PagedIterable<AlarmHistoryItem> |
listHistory(ListAlarmHistoryOptions options)
Return all history based on the options query |
org.jclouds.collect.IterableWithMarker<AlarmHistoryItem> |
listHistoryAt(String nextToken)
Return a single page of history for the specified alarm. |
void |
save(SaveAlarmOptions options)
Creates or updates an alarm and associates it with the specified Amazon CloudWatch metric. |
void |
setState(String alarmName,
String stateReason,
String stateReasonData,
Alarm.State state)
Temporarily sets the state of an alarm. |
| Method Detail |
|---|
void delete(Iterable<String> alarmNames)
alarmNames - the list of alarms to deleteorg.jclouds.collect.PagedIterable<AlarmHistoryItem> listHistory()
org.jclouds.collect.PagedIterable<AlarmHistoryItem> listHistory(ListAlarmHistoryOptions options)
org.jclouds.collect.IterableWithMarker<AlarmHistoryItem> listHistoryAt(String nextToken)
nextToken - the token corresponding with the data you want to get
org.jclouds.collect.PagedIterable<Alarm> list()
org.jclouds.collect.PagedIterable<Alarm> list(ListAlarmsOptions options)
options - the options describing the alarms query
org.jclouds.collect.IterableWithMarker<Alarm> listAt(String nextToken)
nextToken - the token corresponding with the data you want to get
com.google.common.collect.FluentIterable<Alarm> listForMetric(ListAlarmsForMetric options)
options - the options describing the alarms for metric query
void disable(Iterable<String> alarmNames)
alarmNames - the list of alarms to disablevoid enable(Iterable<String> alarmNames)
alarmNames - the list of alarms to enablevoid save(SaveAlarmOptions options)
options - the options describing the metric alarm to create/update
void setState(String alarmName,
String stateReason,
@Nullable
String stateReasonData,
Alarm.State state)
alarmName - the descriptive name for the alarmstateReason - the reason that this alarm is set to this specific state (in human-readable text format)stateReasonData - the reason that this alarm is set to this specific state (in machine-readable JSON format)state - the value of the state
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||