Enum DatabaseCredentials.Role
- java.lang.Object
-
- java.lang.Enum<DatabaseCredentials.Role>
-
- com.oracle.bmc.databasemanagement.model.DatabaseCredentials.Role
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<DatabaseCredentials.Role>
- Enclosing class:
- DatabaseCredentials
public static enum DatabaseCredentials.Role extends Enum<DatabaseCredentials.Role> implements BmcEnum
The role of the database user.Indicates whether the database user is a normal user or sysdba.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DatabaseCredentials.Role
create(String key)
String
getValue()
static DatabaseCredentials.Role
valueOf(String name)
Returns the enum constant of this type with the specified name.static DatabaseCredentials.Role[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Normal
public static final DatabaseCredentials.Role Normal
-
Sysdba
public static final DatabaseCredentials.Role Sysdba
-
-
Method Detail
-
values
public static DatabaseCredentials.Role[] 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 (DatabaseCredentials.Role c : DatabaseCredentials.Role.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DatabaseCredentials.Role 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 DatabaseCredentials.Role create(String key)
-
-