Enum Vault.VaultType
- java.lang.Object
-
- java.lang.Enum<Vault.VaultType>
-
- com.oracle.bmc.keymanagement.model.Vault.VaultType
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<Vault.VaultType>
- Enclosing class:
- Vault
public static enum Vault.VaultType extends Enum<Vault.VaultType> implements BmcEnum
The type of vault.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
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.VirtualPrivate
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Vault.VaultType
create(String key)
String
getValue()
static Vault.VaultType
valueOf(String name)
Returns the enum constant of this type with the specified name.static Vault.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 Vault.VaultType VirtualPrivate
-
Default
public static final Vault.VaultType Default
-
External
public static final Vault.VaultType External
-
UnknownEnumValue
public static final Vault.VaultType UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
-
Method Detail
-
values
public static Vault.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 (Vault.VaultType c : Vault.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 Vault.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 Vault.VaultType create(String key)
-
-