Package com.oracle.bmc.datasafe.model
Enum PrivilegeName
- java.lang.Object
-
- java.lang.Enum<PrivilegeName>
-
- com.oracle.bmc.datasafe.model.PrivilegeName
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<PrivilegeName>
@Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public enum PrivilegeName extends Enum<PrivilegeName> implements BmcEnum
The name of the privilege granted to user.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CreateAnyIndex
Delete
DeleteAnyTable
Index
Insert
InsertAnyTable
Owner
Read
ReadAnyTable
Select
SelectAnyTable
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.Update
UpdateAnyTable
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PrivilegeName
create(String key)
String
getValue()
static PrivilegeName
valueOf(String name)
Returns the enum constant of this type with the specified name.static PrivilegeName[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Select
public static final PrivilegeName Select
-
Update
public static final PrivilegeName Update
-
Insert
public static final PrivilegeName Insert
-
Delete
public static final PrivilegeName Delete
-
Read
public static final PrivilegeName Read
-
Owner
public static final PrivilegeName Owner
-
Index
public static final PrivilegeName Index
-
SelectAnyTable
public static final PrivilegeName SelectAnyTable
-
UpdateAnyTable
public static final PrivilegeName UpdateAnyTable
-
InsertAnyTable
public static final PrivilegeName InsertAnyTable
-
DeleteAnyTable
public static final PrivilegeName DeleteAnyTable
-
ReadAnyTable
public static final PrivilegeName ReadAnyTable
-
CreateAnyIndex
public static final PrivilegeName CreateAnyIndex
-
UnknownEnumValue
public static final PrivilegeName 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 PrivilegeName[] 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 (PrivilegeName c : PrivilegeName.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PrivilegeName 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 PrivilegeName create(String key)
-
-