Enum CreateVaultDetails.VaultType
- java.lang.Object
-
- java.lang.Enum<CreateVaultDetails.VaultType>
-
- com.oracle.bmc.keymanagement.model.CreateVaultDetails.VaultType
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<CreateVaultDetails.VaultType>
- Enclosing class:
- CreateVaultDetails
public static enum CreateVaultDetails.VaultType extends Enum<CreateVaultDetails.VaultType> implements BmcEnum
The type of vault to create.Each type of vault stores the key with different degrees of isolation and has different options and pricing.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Default
External
VirtualPrivate
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateVaultDetails.VaultType
create(String key)
String
getValue()
static CreateVaultDetails.VaultType
valueOf(String name)
Returns the enum constant of this type with the specified name.static CreateVaultDetails.VaultType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VirtualPrivate
public static final CreateVaultDetails.VaultType VirtualPrivate
-
Default
public static final CreateVaultDetails.VaultType Default
-
External
public static final CreateVaultDetails.VaultType External
-
-
Method Detail
-
values
public static CreateVaultDetails.VaultType[] 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 (CreateVaultDetails.VaultType c : CreateVaultDetails.VaultType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CreateVaultDetails.VaultType 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 CreateVaultDetails.VaultType create(String key)
-
-