com.amazonaws.auth.policy.actions
Enum CloudWatchActions

java.lang.Object
  extended by java.lang.Enum<CloudWatchActions>
      extended by com.amazonaws.auth.policy.actions.CloudWatchActions
All Implemented Interfaces:
Action, java.io.Serializable, java.lang.Comparable<CloudWatchActions>

public enum CloudWatchActions
extends java.lang.Enum<CloudWatchActions>
implements Action

The available AWS access control policy actions for Amazon CloudWatch.


Enum Constant Summary
AllCloudWatchActions
          Represents any action executed on Amazon CloudWatch.
DeleteAlarms
          Action for the DeleteAlarms operation.
DescribeAlarmHistory
          Action for the DescribeAlarmHistory operation.
DescribeAlarms
          Action for the DescribeAlarms operation.
DescribeAlarmsForMetric
          Action for the DescribeAlarmsForMetric operation.
DisableAlarmActions
          Action for the DisableAlarmActions operation.
EnableAlarmActions
          Action for the EnableAlarmActions operation.
GetMetricStatistics
          Action for the GetMetricStatistics operation.
ListMetrics
          Action for the ListMetrics operation.
PutMetricAlarm
          Action for the PutMetricAlarm operation.
PutMetricData
          Action for the PutMetricData operation.
SetAlarmState
          Action for the SetAlarmState operation.
 
Method Summary
 java.lang.String getActionName()
          Returns the name of this action.
static CloudWatchActions valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static CloudWatchActions[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

AllCloudWatchActions

public static final CloudWatchActions AllCloudWatchActions
Represents any action executed on Amazon CloudWatch.


DeleteAlarms

public static final CloudWatchActions DeleteAlarms
Action for the DeleteAlarms operation.


DescribeAlarmHistory

public static final CloudWatchActions DescribeAlarmHistory
Action for the DescribeAlarmHistory operation.


DescribeAlarms

public static final CloudWatchActions DescribeAlarms
Action for the DescribeAlarms operation.


DescribeAlarmsForMetric

public static final CloudWatchActions DescribeAlarmsForMetric
Action for the DescribeAlarmsForMetric operation.


DisableAlarmActions

public static final CloudWatchActions DisableAlarmActions
Action for the DisableAlarmActions operation.


EnableAlarmActions

public static final CloudWatchActions EnableAlarmActions
Action for the EnableAlarmActions operation.


GetMetricStatistics

public static final CloudWatchActions GetMetricStatistics
Action for the GetMetricStatistics operation.


ListMetrics

public static final CloudWatchActions ListMetrics
Action for the ListMetrics operation.


PutMetricAlarm

public static final CloudWatchActions PutMetricAlarm
Action for the PutMetricAlarm operation.


PutMetricData

public static final CloudWatchActions PutMetricData
Action for the PutMetricData operation.


SetAlarmState

public static final CloudWatchActions SetAlarmState
Action for the SetAlarmState operation.

Method Detail

values

public static CloudWatchActions[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (CloudWatchActions c : CloudWatchActions.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static CloudWatchActions valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getActionName

public java.lang.String getActionName()
Description copied from interface: Action
Returns the name of this action. For example, 'sqs:SendMessage' is the name corresponding to the SQS action that enables users to send a message to an SQS queue.

Specified by:
getActionName in interface Action
Returns:
The name of this action.


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.