com.amazonaws.auth.policy.actions
Enum SQSActions

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

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

The available AWS access control policy actions for Amazon SQS.


Enum Constant Summary
AddPermission
          Action for the AddPermission operation.
AllSQSActions
          Represents any action executed on Amazon SQS.
ChangeMessageVisibility
          Action for the ChangeMessageVisibility operation.
CreateQueue
          Action for the CreateQueue operation.
DeleteMessage
          Action for the DeleteMessage operation.
DeleteQueue
          Action for the DeleteQueue operation.
GetQueueAttributes
          Action for the GetQueueAttributes operation.
GetQueueUrl
          Action for the GetQueueUrl operation.
ListQueues
          Action for the ListQueues operation.
ReceiveMessage
          Action for the ReceiveMessage operation.
RemovePermission
          Action for the RemovePermission operation.
SendMessage
          Action for the SendMessage operation.
SetQueueAttributes
          Action for the SetQueueAttributes operation.
 
Method Summary
 java.lang.String getActionName()
          Returns the name of this action.
static SQSActions valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SQSActions[] 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

AllSQSActions

public static final SQSActions AllSQSActions
Represents any action executed on Amazon SQS.


AddPermission

public static final SQSActions AddPermission
Action for the AddPermission operation.


ChangeMessageVisibility

public static final SQSActions ChangeMessageVisibility
Action for the ChangeMessageVisibility operation.


CreateQueue

public static final SQSActions CreateQueue
Action for the CreateQueue operation.


DeleteMessage

public static final SQSActions DeleteMessage
Action for the DeleteMessage operation.


DeleteQueue

public static final SQSActions DeleteQueue
Action for the DeleteQueue operation.


GetQueueAttributes

public static final SQSActions GetQueueAttributes
Action for the GetQueueAttributes operation.


GetQueueUrl

public static final SQSActions GetQueueUrl
Action for the GetQueueUrl operation.


ListQueues

public static final SQSActions ListQueues
Action for the ListQueues operation.


ReceiveMessage

public static final SQSActions ReceiveMessage
Action for the ReceiveMessage operation.


RemovePermission

public static final SQSActions RemovePermission
Action for the RemovePermission operation.


SendMessage

public static final SQSActions SendMessage
Action for the SendMessage operation.


SetQueueAttributes

public static final SQSActions SetQueueAttributes
Action for the SetQueueAttributes operation.

Method Detail

values

public static SQSActions[] 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 (SQSActions c : SQSActions.values())
    System.out.println(c);

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

valueOf

public static SQSActions 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.