|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Action>
org.jclouds.sqs.domain.Action
public enum Action
The action you want to allow for the specified principal.
| Enum Constant Summary | |
|---|---|
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 | |
|---|---|
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. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Action ALL
public static final Action RECEIVE_MESSAGE
public static final Action SEND_MESSAGE
public static final Action DELETE_MESSAGE
public static final Action CHANGE_MESSAGE_VISIBILITY
public static final Action GET_QUEUE_ATTRIBUTES
public static final Action GET_QUEUE_URL
| Method Detail |
|---|
public static Action[] values()
for (Action c : Action.values()) System.out.println(c);
public static Action valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String value()
public String toString()
toString in class Enum<Action>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||