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 Summary
Enum Constants Enum Constant Description 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.CHANGE_MESSAGE_VISIBILITY
This grants permission to extend or terminate the read lock timeout of a specified message.DELETE_MESSAGE
This grants permission to delete messages from the queue.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.GET_QUEUE_URL
This grants permission to get the url of a queue by name.RECEIVE_MESSAGE
This grants permission to receive messages in the queue.SEND_MESSAGE
This grants permission to send messages to the queue.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
String
value()
static Action
valueOf(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
-
ALL
public 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_MESSAGE
public static final Action RECEIVE_MESSAGE
This grants permission to receive messages in the queue.
-
SEND_MESSAGE
public static final Action SEND_MESSAGE
This grants permission to send messages to the queue. SendMessageBatch inherits permissions associated with SendMessage.
-
DELETE_MESSAGE
public static final Action DELETE_MESSAGE
This grants permission to delete messages from the queue. DeleteMessageBatch inherits permissions associated with DeleteMessage.
-
CHANGE_MESSAGE_VISIBILITY
public 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_ATTRIBUTES
public 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_URL
public static final Action GET_QUEUE_URL
This grants permission to get the url of a queue by name.
-
-
Method Detail
-
values
public 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
-
valueOf
public 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 nameNullPointerException
- if the argument is null
-
value
public String value()
-
-