Package org.jclouds.sqs.domain
Enum Action
- java.lang.Object
- 
- java.lang.Enum<Action>
- 
- org.jclouds.sqs.domain.Action
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<Action>
 
 public enum Action extends Enum<Action> The action you want to allow for the specified principal.
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description ALLThis permission type grants the following actions to a principal on a shared queue: receive messages, send messages, delete messages, change a message's visibility, get a queue's attributes.CHANGE_MESSAGE_VISIBILITYThis grants permission to extend or terminate the read lock timeout of a specified message.DELETE_MESSAGEThis grants permission to delete messages from the queue.GET_QUEUE_ATTRIBUTESThis grants permission to receive all of the queue attributes except the policy, which can only be accessed by the queue's owner.GET_QUEUE_URLThis grants permission to get the url of a queue by name.RECEIVE_MESSAGEThis grants permission to receive messages in the queue.SEND_MESSAGEThis grants permission to send messages to the queue.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtoString()Stringvalue()static ActionvalueOf(String name)Returns the enum constant of this type with the specified name.static Action[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
ALLpublic static final Action ALL This permission type grants the following actions to a principal on a shared queue: receive messages, send messages, delete messages, change a message's visibility, get a queue's attributes.
 - 
RECEIVE_MESSAGEpublic static final Action RECEIVE_MESSAGE This grants permission to receive messages in the queue.
 - 
SEND_MESSAGEpublic static final Action SEND_MESSAGE This grants permission to send messages to the queue. SendMessageBatch inherits permissions associated with SendMessage.
 - 
DELETE_MESSAGEpublic static final Action DELETE_MESSAGE This grants permission to delete messages from the queue. DeleteMessageBatch inherits permissions associated with DeleteMessage.
 - 
CHANGE_MESSAGE_VISIBILITYpublic static final Action CHANGE_MESSAGE_VISIBILITY This grants permission to extend or terminate the read lock timeout of a specified message. ChangeMessageVisibilityBatch inherits permissions associated with ChangeMessageVisibility. For more information about visibility timeout, see Visibility Timeout. For more information about this permission type, see the ChangeMessageVisibility operation.
 - 
GET_QUEUE_ATTRIBUTESpublic static final Action GET_QUEUE_ATTRIBUTES This grants permission to receive all of the queue attributes except the policy, which can only be accessed by the queue's owner. For more information, see the GetQueueAttributes operation.
 - 
GET_QUEUE_URLpublic static final Action GET_QUEUE_URL This grants permission to get the url of a queue by name.
 
- 
 - 
Method Detail- 
valuespublic static Action[] 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 (Action c : Action.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static Action 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
 
 - 
valuepublic String value() 
 
- 
 
-