Package com.oracle.bmc.datasafe.requests
Enum ListAuditTrailsRequest.AccessLevel
- java.lang.Object
-
- java.lang.Enum<ListAuditTrailsRequest.AccessLevel>
-
- com.oracle.bmc.datasafe.requests.ListAuditTrailsRequest.AccessLevel
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<ListAuditTrailsRequest.AccessLevel>
- Enclosing class:
- ListAuditTrailsRequest
public static enum ListAuditTrailsRequest.AccessLevel extends Enum<ListAuditTrailsRequest.AccessLevel> implements BmcEnum
Valid values are RESTRICTED and ACCESSIBLE.Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Accessible
Restricted
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListAuditTrailsRequest.AccessLevel
create(String key)
String
getValue()
static ListAuditTrailsRequest.AccessLevel
valueOf(String name)
Returns the enum constant of this type with the specified name.static ListAuditTrailsRequest.AccessLevel[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Restricted
public static final ListAuditTrailsRequest.AccessLevel Restricted
-
Accessible
public static final ListAuditTrailsRequest.AccessLevel Accessible
-
-
Method Detail
-
values
public static ListAuditTrailsRequest.AccessLevel[] 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 (ListAuditTrailsRequest.AccessLevel c : ListAuditTrailsRequest.AccessLevel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ListAuditTrailsRequest.AccessLevel 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 ListAuditTrailsRequest.AccessLevel create(String key)
-
-