com.xerox.amazonws.sqs2
Enum QueueAttribute
java.lang.Object
java.lang.Enum<QueueAttribute>
com.xerox.amazonws.sqs2.QueueAttribute
- All Implemented Interfaces:
- Serializable, Comparable<QueueAttribute>
public enum QueueAttribute
- extends Enum<QueueAttribute>
Method Summary |
static QueueAttribute |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static QueueAttribute[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
ALL
public static final QueueAttribute ALL
APPROXIMATE_NUMBER_OF_MESSAGES
public static final QueueAttribute APPROXIMATE_NUMBER_OF_MESSAGES
APPROXIMATE_NUMBER_OF_MESSAGES_NOT_VISIBLE
public static final QueueAttribute APPROXIMATE_NUMBER_OF_MESSAGES_NOT_VISIBLE
CREATED_TIMESTAMP
public static final QueueAttribute CREATED_TIMESTAMP
LAST_MODIFIED_TIMESTAMP
public static final QueueAttribute LAST_MODIFIED_TIMESTAMP
VISIBILITY_TIMEOUT
public static final QueueAttribute VISIBILITY_TIMEOUT
REQUEST_PAYER
public static final QueueAttribute REQUEST_PAYER
MAXIUMUM_MESSAGE_SIZE
public static final QueueAttribute MAXIUMUM_MESSAGE_SIZE
MESSAGE_RETENTION_PERIOD
public static final QueueAttribute MESSAGE_RETENTION_PERIOD
POLICY
public static final QueueAttribute POLICY
values
public static QueueAttribute[] 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 (QueueAttribute c : QueueAttribute.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static QueueAttribute 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 name
NullPointerException
- if the argument is null