Package com.oracle.bmc.vault.model
Enum SecretContentDetails.ContentType
- java.lang.Object
-
- java.lang.Enum<SecretContentDetails.ContentType>
-
- com.oracle.bmc.vault.model.SecretContentDetails.ContentType
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<SecretContentDetails.ContentType>
- Enclosing class:
- SecretContentDetails
public static enum SecretContentDetails.ContentType extends Enum<SecretContentDetails.ContentType> implements BmcEnum
The base64-encoded content of the secret.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Base64
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SecretContentDetails.ContentType
create(String key)
String
getValue()
static SecretContentDetails.ContentType
valueOf(String name)
Returns the enum constant of this type with the specified name.static SecretContentDetails.ContentType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Base64
public static final SecretContentDetails.ContentType Base64
-
-
Method Detail
-
values
public static SecretContentDetails.ContentType[] 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 (SecretContentDetails.ContentType c : SecretContentDetails.ContentType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SecretContentDetails.ContentType 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 SecretContentDetails.ContentType create(String key)
-
-