Package org.jclouds.sqs.domain
Enum Class Action
- All Implemented Interfaces:
Serializable
,Comparable<Action>
,java.lang.constant.Constable
The action you want to allow for the specified principal.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThis 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.This grants permission to extend or terminate the read lock timeout of a specified message.This grants permission to delete messages from the queue.This grants permission to receive all of the queue attributes except the policy, which can only be accessed by the queue's owner.This grants permission to get the url of a queue by name.This grants permission to receive messages in the queue.This grants permission to send messages to the queue. -
Method Summary
-
Enum Constant Details
-
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_MESSAGE
This grants permission to receive messages in the queue. -
SEND_MESSAGE
This grants permission to send messages to the queue. SendMessageBatch inherits permissions associated with SendMessage. -
DELETE_MESSAGE
This grants permission to delete messages from the queue. DeleteMessageBatch inherits permissions associated with DeleteMessage. -
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_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_URL
This grants permission to get the url of a queue by name.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
value
-
toString
-