Enum CloudWatchActions
- All Implemented Interfaces:
Action
,Serializable
,Comparable<CloudWatchActions>
,java.lang.constant.Constable
The available AWS access control policy actions for CloudWatch.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRepresents any action executed on CloudWatch.Action for the DeleteAlarms operation.Action for the DescribeAlarmHistory operation.Action for the DescribeAlarms operation.Action for the DescribeAlarmsForMetric operation.Action for the DisableAlarmActions operation.Action for the EnableAlarmActions operation.Action for the GetMetricStatistics operation.Action for the ListMetrics operation.Action for the PutMetricAlarm operation.Action for the PutMetricData operation.Action for the SetAlarmState operation. -
Method Summary
Modifier and TypeMethodDescriptionReturns the name of this action.static CloudWatchActions
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 Details
-
AllCloudWatchActions
Represents any action executed on 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 Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
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 interfaceAction
- Returns:
- The name of this action.
-