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