Package com.oracle.bmc.lockbox.model
Enum PersonaLevel
- java.lang.Object
-
- java.lang.Enum<PersonaLevel>
-
- com.oracle.bmc.lockbox.model.PersonaLevel
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<PersonaLevel>
@Generated(value="OracleSDKGenerator", comments="API Version: 20220126") public enum PersonaLevel extends Enum<PersonaLevel> implements BmcEnum
The level for each persona (approver, customer admin, operator)
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PersonaLevel
create(String key)
String
getValue()
static PersonaLevel
valueOf(String name)
Returns the enum constant of this type with the specified name.static PersonaLevel[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Level1
public static final PersonaLevel Level1
-
Level2
public static final PersonaLevel Level2
-
Level3
public static final PersonaLevel Level3
-
Admin
public static final PersonaLevel Admin
-
Operator
public static final PersonaLevel Operator
-
UnknownEnumValue
public static final PersonaLevel 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 PersonaLevel[] 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 (PersonaLevel c : PersonaLevel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PersonaLevel 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 PersonaLevel create(String key)
-
-