@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public enum KeyMaterialType extends Enum<KeyMaterialType>
Enum Constant and Description |
---|
KEY_CRYPTOGRAM |
ROOT_PUBLIC_KEY_CERTIFICATE |
TR31_KEY_BLOCK |
TR34_KEY_BLOCK |
TRUSTED_PUBLIC_KEY_CERTIFICATE |
Modifier and Type | Method and Description |
---|---|
static KeyMaterialType |
fromValue(String value)
Use this in place of valueOf.
|
String |
toString() |
static KeyMaterialType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeyMaterialType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyMaterialType TR34_KEY_BLOCK
public static final KeyMaterialType TR31_KEY_BLOCK
public static final KeyMaterialType ROOT_PUBLIC_KEY_CERTIFICATE
public static final KeyMaterialType TRUSTED_PUBLIC_KEY_CERTIFICATE
public static final KeyMaterialType KEY_CRYPTOGRAM
public static KeyMaterialType[] values()
for (KeyMaterialType c : KeyMaterialType.values()) System.out.println(c);
public static KeyMaterialType 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 toString()
toString
in class Enum<KeyMaterialType>
public static KeyMaterialType fromValue(String value)
value
- real valueIllegalArgumentException
- If the specified value does not map to one of the known values in this enum.