|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jclouds.http.options.BaseHttpRequestOptions
org.jclouds.cloudwatch.options.SaveAlarmOptions
@Beta public class SaveAlarmOptions
Options used to create/update an alarm.
| Field Summary |
|---|
| Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions |
|---|
formParameters, headers, pathSuffix, payload, queryParameters |
| Constructor Summary | |
|---|---|
SaveAlarmOptions()
|
|
| Method Summary | |
|---|---|
SaveAlarmOptions |
actionsEnabled(boolean actionsEnabled)
Indicates whether or not actions should be executed during any changes to the alarm's state. |
SaveAlarmOptions |
alarmAction(String alarmAction)
The action to execute when this alarm transitions into an ALARM state from any other state. |
SaveAlarmOptions |
alarmActions(Set<String> alarmActions)
The list of actions to execute when this alarm transitions into an ALARM state from any other state. |
SaveAlarmOptions |
alarmDescription(String alarmDescription)
The description of the alarm. |
SaveAlarmOptions |
alarmName(String alarmName)
The name of the alarm. |
SaveAlarmOptions |
comparisonOperator(ComparisonOperator comparisonOperator)
The arithmetic operation to use when comparing the specified statistic and threshold. |
SaveAlarmOptions |
dimension(Dimension dimension)
The dimension for the alarm's associated metric. |
SaveAlarmOptions |
dimensions(Set<Dimension> dimensions)
The dimensions for the alarm's associated metric. |
SaveAlarmOptions |
evaluationPeriods(int evaluationPeriods)
The number of periods over which data is compared to the specified threshold. |
SaveAlarmOptions |
insufficientDataAction(String insufficientDataAction)
The actions to execute when this alarm transitions into an INSUFFICIENT_DATA state from any other state. |
SaveAlarmOptions |
insufficientDataActions(Set<String> insufficientDataActions)
The list of actions to execute when this alarm transitions into an INSUFFICIENT_DATA state from any other state. |
SaveAlarmOptions |
metricName(String metricName)
The name for the alarm's associated metric. |
SaveAlarmOptions |
namespace(String namespace)
The namespace for the alarm's associated metric. |
SaveAlarmOptions |
okAction(String okAction)
The action to execute when this alarm transitions into an OK state from any other state. |
SaveAlarmOptions |
okActions(Set<String> okActions)
The list of actions to execute when this alarm transitions into an OK state from any other state. |
SaveAlarmOptions |
period(int period)
The period in seconds over which the specified statistic is applied. |
SaveAlarmOptions |
statistic(Statistics statistic)
The statistic to apply to the alarm's associated metric. |
SaveAlarmOptions |
threshold(double threshold)
The value against which the specified statistic is compared. |
SaveAlarmOptions |
unit(Unit unit)
The unit for the alarm's associated metric. |
| Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions |
|---|
buildFormParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SaveAlarmOptions()
| Method Detail |
|---|
public SaveAlarmOptions actionsEnabled(boolean actionsEnabled)
actionsEnabled - indicates whether or not actions should be executed during any changes to the alarm's state
SaveAlarmOptions objectpublic SaveAlarmOptions alarmActions(Set<String> alarmActions)
alarmActions - the list of actions to execute when this alarm transitions into an ALARM state from any other
state
SaveAlarmOptions objectpublic SaveAlarmOptions alarmAction(String alarmAction)
alarmAction - the actions to execute when this alarm transitions into an ALARM state from any other state
SaveAlarmOptions objectpublic SaveAlarmOptions alarmDescription(String alarmDescription)
alarmDescription - the description of the alarm
SaveAlarmOptions objectpublic SaveAlarmOptions alarmName(String alarmName)
alarmName - the name of the alarm
SaveAlarmOptions objectpublic SaveAlarmOptions comparisonOperator(ComparisonOperator comparisonOperator)
comparisonOperator - the arithmetic operation to use when comparing the specified statistic and threshold
SaveAlarmOptions objectpublic SaveAlarmOptions dimensions(Set<Dimension> dimensions)
dimensions - the dimensions for the alarm's associated metric
SaveAlarmOptions objectpublic SaveAlarmOptions dimension(Dimension dimension)
dimension - the dimension for the alarm's associated metric
SaveAlarmOptions objectpublic SaveAlarmOptions evaluationPeriods(int evaluationPeriods)
evaluationPeriods - the number of periods over which data is compared to the specified threshold
SaveAlarmOptions objectpublic SaveAlarmOptions insufficientDataActions(Set<String> insufficientDataActions)
insufficientDataActions - the list of actions to execute when this alarm transitions into an
INSUFFICIENT_DATA state from any other state
SaveAlarmOptions objectpublic SaveAlarmOptions insufficientDataAction(String insufficientDataAction)
insufficientDataAction - the action to execute when this alarm transitions into an INSUFFICIENT_DATA state
from any other state
SaveAlarmOptions objectpublic SaveAlarmOptions metricName(String metricName)
metricName - the name for the alarm's associated metric
SaveAlarmOptions objectpublic SaveAlarmOptions namespace(String namespace)
namespace - the namespace for the alarm's associated metric
SaveAlarmOptions objectpublic SaveAlarmOptions okActions(Set<String> okActions)
okActions - the list of actions to execute when this alarm transitions into an OK state from any other state
SaveAlarmOptions objectpublic SaveAlarmOptions okAction(String okAction)
okAction - the action to execute when this alarm transitions into an OK state from any other state
SaveAlarmOptions objectpublic SaveAlarmOptions period(int period)
period - the period in seconds over which the specified statistic is applied
SaveAlarmOptions objectpublic SaveAlarmOptions statistic(Statistics statistic)
statistic - the statistic to apply to the alarm's associated metric
SaveAlarmOptions objectpublic SaveAlarmOptions threshold(double threshold)
threshold - the value against which the specified statistic is compared
SaveAlarmOptions objectpublic SaveAlarmOptions unit(Unit unit)
unit - the unit for the alarm's associated metric
SaveAlarmOptions object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||