public enum Action extends Enum<Action>
Enum Constant and 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.
|
Modifier and Type | Method and 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.
|
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
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 nameNullPointerException
- if the argument is nullpublic String value()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.