Enum VerifyDataDetails.MessageType
- java.lang.Object
-
- java.lang.Enum<VerifyDataDetails.MessageType>
-
- com.oracle.bmc.keymanagement.model.VerifyDataDetails.MessageType
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<VerifyDataDetails.MessageType>
- Enclosing class:
- VerifyDataDetails
public static enum VerifyDataDetails.MessageType extends Enum<VerifyDataDetails.MessageType> implements BmcEnum
Denotes whether the value of the message parameter is a raw message or a message digest.The default value, RAW, indicates a message. To indicate a message digest, use DIGEST.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VerifyDataDetails.MessageType
create(String key)
String
getValue()
static VerifyDataDetails.MessageType
valueOf(String name)
Returns the enum constant of this type with the specified name.static VerifyDataDetails.MessageType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Raw
public static final VerifyDataDetails.MessageType Raw
-
Digest
public static final VerifyDataDetails.MessageType Digest
-
-
Method Detail
-
values
public static VerifyDataDetails.MessageType[] 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 (VerifyDataDetails.MessageType c : VerifyDataDetails.MessageType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VerifyDataDetails.MessageType 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 VerifyDataDetails.MessageType create(String key)
-
-