Enum CloudWatchActions
- java.lang.Object
-
- java.lang.Enum<CloudWatchActions>
-
- com.amazonaws.auth.policy.actions.CloudWatchActions
-
- All Implemented Interfaces:
Action,Serializable,Comparable<CloudWatchActions>
public enum CloudWatchActions extends Enum<CloudWatchActions> implements Action
The available AWS access control policy actions for CloudWatch.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AllCloudWatchActionsRepresents any action executed on CloudWatch.DeleteAlarmsAction for the DeleteAlarms operation.DescribeAlarmHistoryAction for the DescribeAlarmHistory operation.DescribeAlarmsAction for the DescribeAlarms operation.DescribeAlarmsForMetricAction for the DescribeAlarmsForMetric operation.DisableAlarmActionsAction for the DisableAlarmActions operation.EnableAlarmActionsAction for the EnableAlarmActions operation.GetMetricStatisticsAction for the GetMetricStatistics operation.ListMetricsAction for the ListMetrics operation.PutMetricAlarmAction for the PutMetricAlarm operation.PutMetricDataAction for the PutMetricData operation.SetAlarmStateAction for the SetAlarmState operation.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetActionName()Returns the name of this action.static CloudWatchActionsvalueOf(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.
-
-
-
Enum Constant Detail
-
AllCloudWatchActions
public static final CloudWatchActions AllCloudWatchActions
Represents any action executed on 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(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getActionName
public String getActionName()
Description copied from interface:ActionReturns 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:
getActionNamein interfaceAction- Returns:
- The name of this action.
-
-