Did this page help you?

   Yes   No   Tell us about it...

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, Serializable, Comparable<SQSActions>

public enum SQSActions
extends Enum<SQSActions>
implements Action

The available AWS access control policy actions for Amazon Simple Queue Service.

See Also:
Statement.setActions(java.util.Collection)

Enum Constant Summary
AddPermission
          Action for the AddPermission operation on Amazon SQS.
AllSqsActions
          Represents any action being taken on Amazon SQS.
ChangeMessageVisibility
          Action for the ChangeMessageVisibility operation on Amazon SQS.
ChangeMessageVisibilityBatch
          Action for the ChangeMessageVisibilityBatch operation on Amazon SQS.
CreateQueue
          Action for the CreateQueue operation on Amazon SQS.
DeleteMessage
          Action for the DeleteMessage operation on Amazon SQS.
DeleteMessageBatch
          Action for the DeleteMessageBatch operation on Amazon SQS.
DeleteQueue
          Action for the DeleteQueue operation on Amazon SQS.
GetQueueAttributes
          Action for the GetQueueAttributes operation on Amazon SQS.
GetQueueUrl
          Action for the GetQueueUrl operation on Amazon SQS.
ListQueues
          Action for the ListQueues operation on Amazon SQS.
ReceiveMessage
          Action for the ReveiveMessage operation on Amazon SQS.
RemovePermission
          Action for the RemovePermission operation on Amazon SQS.
SendMessage
          Action for the SendMessage operation on Amazon SQS.
SendMessageBatch
          Action for the SendMessageBatch operation on Amazon SQS.
SetQueueAttributes
          Action for the SetQueueAttributes operation on Amazon SQS.
 
Method Summary
 String getActionName()
          Returns the name of this action.
static SQSActions valueOf(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 being taken on Amazon SQS.


AddPermission

public static final SQSActions AddPermission
Action for the AddPermission operation on Amazon SQS.

See Also:
AmazonSQS.addPermission(com.amazonaws.services.sqs.model.AddPermissionRequest)

ChangeMessageVisibility

public static final SQSActions ChangeMessageVisibility
Action for the ChangeMessageVisibility operation on Amazon SQS.

See Also:
AmazonSQS.changeMessageVisibility(com.amazonaws.services.sqs.model.ChangeMessageVisibilityRequest)

CreateQueue

public static final SQSActions CreateQueue
Action for the CreateQueue operation on Amazon SQS.

See Also:
AmazonSQS.createQueue(com.amazonaws.services.sqs.model.CreateQueueRequest)

GetQueueUrl

public static final SQSActions GetQueueUrl
Action for the GetQueueUrl operation on Amazon SQS.

See Also:
AmazonSQS.getQueueUrl(com.amazonaws.services.sqs.model.GetQueueUrlRequest)

DeleteMessage

public static final SQSActions DeleteMessage
Action for the DeleteMessage operation on Amazon SQS.

See Also:
AmazonSQS.deleteMessage(com.amazonaws.services.sqs.model.DeleteMessageRequest)

DeleteQueue

public static final SQSActions DeleteQueue
Action for the DeleteQueue operation on Amazon SQS.

See Also:
AmazonSQS.deleteQueue(com.amazonaws.services.sqs.model.DeleteQueueRequest)

GetQueueAttributes

public static final SQSActions GetQueueAttributes
Action for the GetQueueAttributes operation on Amazon SQS.

See Also:
AmazonSQS.getQueueAttributes(com.amazonaws.services.sqs.model.GetQueueAttributesRequest)

ListQueues

public static final SQSActions ListQueues
Action for the ListQueues operation on Amazon SQS.

See Also:
AmazonSQS.listQueues(com.amazonaws.services.sqs.model.ListQueuesRequest)

ReceiveMessage

public static final SQSActions ReceiveMessage
Action for the ReveiveMessage operation on Amazon SQS.

See Also:
AmazonSQS.receiveMessage(com.amazonaws.services.sqs.model.ReceiveMessageRequest)

RemovePermission

public static final SQSActions RemovePermission
Action for the RemovePermission operation on Amazon SQS.

See Also:
AmazonSQS.removePermission(com.amazonaws.services.sqs.model.RemovePermissionRequest)

SendMessage

public static final SQSActions SendMessage
Action for the SendMessage operation on Amazon SQS.

See Also:
AmazonSQS.sendMessage(com.amazonaws.services.sqs.model.SendMessageRequest)

SetQueueAttributes

public static final SQSActions SetQueueAttributes
Action for the SetQueueAttributes operation on Amazon SQS.

See Also:
AmazonSQS.setQueueAttributes(com.amazonaws.services.sqs.model.SetQueueAttributesRequest)

SendMessageBatch

public static final SQSActions SendMessageBatch
Action for the SendMessageBatch operation on Amazon SQS.

See Also:
AmazonSQS.sendMessageBatch(com.amazonaws.services.sqs.model.SendMessageBatchRequest)

ChangeMessageVisibilityBatch

public static final SQSActions ChangeMessageVisibilityBatch
Action for the ChangeMessageVisibilityBatch operation on Amazon SQS.

See Also:
AmazonSQS.changeMessageVisibilityBatch(com.amazonaws.services.sqs.model.ChangeMessageVisibilityBatchRequest)

DeleteMessageBatch

public static final SQSActions DeleteMessageBatch
Action for the DeleteMessageBatch operation on Amazon SQS.

See Also:
AmazonSQS.deleteMessageBatch(com.amazonaws.services.sqs.model.DeleteMessageBatchRequest)
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(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 name
NullPointerException - if the argument is null

getActionName

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