Package com.oracle.bmc.core.requests
Enum GetVcnTopologyRequest.AccessLevel
- java.lang.Object
-
- java.lang.Enum<GetVcnTopologyRequest.AccessLevel>
-
- com.oracle.bmc.core.requests.GetVcnTopologyRequest.AccessLevel
-
- All Implemented Interfaces:
BmcEnum,Serializable,Comparable<GetVcnTopologyRequest.AccessLevel>
- Enclosing class:
- GetVcnTopologyRequest
public static enum GetVcnTopologyRequest.AccessLevel extends Enum<GetVcnTopologyRequest.AccessLevel> implements BmcEnum
Valid values are ANY and ACCESSIBLE.The default is ANY. Setting this to ACCESSIBLE returns only compartments for which a user has INSPECT permissions, either directly or indirectly (permissions can be on a resource in a subcompartment). A restricted set of fields is returned for compartments in which a user has indirect INSPECT permissions.
When set to ANY permissions are not checked.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AccessibleAny
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetVcnTopologyRequest.AccessLevelcreate(String key)StringgetValue()static GetVcnTopologyRequest.AccessLevelvalueOf(String name)Returns the enum constant of this type with the specified name.static GetVcnTopologyRequest.AccessLevel[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Any
public static final GetVcnTopologyRequest.AccessLevel Any
-
Accessible
public static final GetVcnTopologyRequest.AccessLevel Accessible
-
-
Method Detail
-
values
public static GetVcnTopologyRequest.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 (GetVcnTopologyRequest.AccessLevel c : GetVcnTopologyRequest.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 GetVcnTopologyRequest.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 GetVcnTopologyRequest.AccessLevel create(String key)
-
-