Enum Class Action

java.lang.Object
java.lang.Enum<Action>
org.jclouds.sqs.domain.Action
All Implemented Interfaces:
Serializable, Comparable<Action>, java.lang.constant.Constable

public enum Action extends Enum<Action>
The action you want to allow for the specified principal.
See Also:
  • Enum Constant Details

    • 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 Details

    • values

      public static Action[] 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

      public static Action valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • value

      public String value()
    • toString

      public String toString()
      Overrides:
      toString in class Enum<Action>