Package com.oracle.bmc.queue.model
Enum PurgeQueueDetails.PurgeType
- java.lang.Object
-
- java.lang.Enum<PurgeQueueDetails.PurgeType>
-
- com.oracle.bmc.queue.model.PurgeQueueDetails.PurgeType
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<PurgeQueueDetails.PurgeType>
- Enclosing class:
- PurgeQueueDetails
public static enum PurgeQueueDetails.PurgeType extends Enum<PurgeQueueDetails.PurgeType> implements BmcEnum
Type of the purge to perform: - NORMAL - purge only the normal queue - DLQ - purge only the dead letter queue - BOTH - purge both the normal queue and the dead letter queue
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PurgeQueueDetails.PurgeType
create(String key)
String
getValue()
static PurgeQueueDetails.PurgeType
valueOf(String name)
Returns the enum constant of this type with the specified name.static PurgeQueueDetails.PurgeType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Normal
public static final PurgeQueueDetails.PurgeType Normal
-
Dlq
public static final PurgeQueueDetails.PurgeType Dlq
-
Both
public static final PurgeQueueDetails.PurgeType Both
-
-
Method Detail
-
values
public static PurgeQueueDetails.PurgeType[] 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 (PurgeQueueDetails.PurgeType c : PurgeQueueDetails.PurgeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PurgeQueueDetails.PurgeType 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
-
create
public static PurgeQueueDetails.PurgeType create(String key)
-
-