Package com.oracle.bmc.database.model
Enum AutonomousDwDatabase.PermissionLevel
- java.lang.Object
-
- java.lang.Enum<AutonomousDwDatabase.PermissionLevel>
-
- com.oracle.bmc.database.model.AutonomousDwDatabase.PermissionLevel
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<AutonomousDwDatabase.PermissionLevel>
- Enclosing class:
- AutonomousDwDatabase
public static enum AutonomousDwDatabase.PermissionLevel extends Enum<AutonomousDwDatabase.PermissionLevel> implements BmcEnum
The Autonomous Database permission level.Restricted mode allows access only by admin users.
This cannot be updated in parallel with any of the following: cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, isMTLSConnectionRequired, nsgIds, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, or isFreeTier.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Restricted
Unrestricted
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AutonomousDwDatabase.PermissionLevel
create(String key)
String
getValue()
static AutonomousDwDatabase.PermissionLevel
valueOf(String name)
Returns the enum constant of this type with the specified name.static AutonomousDwDatabase.PermissionLevel[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Restricted
public static final AutonomousDwDatabase.PermissionLevel Restricted
-
Unrestricted
public static final AutonomousDwDatabase.PermissionLevel Unrestricted
-
-
Method Detail
-
values
public static AutonomousDwDatabase.PermissionLevel[] 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 (AutonomousDwDatabase.PermissionLevel c : AutonomousDwDatabase.PermissionLevel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AutonomousDwDatabase.PermissionLevel 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 AutonomousDwDatabase.PermissionLevel create(String key)
-
-