public static enum ListCompartmentsRequest.AccessLevel extends Enum<ListCompartmentsRequest.AccessLevel> implements BmcEnum
Valid values are ANY
and ACCESSIBLE
. Default is ANY
. 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). For the
compartments on which the user indirectly has INSPECT permissions, a restricted set of fields
is returned.
When set to ANY
permissions are not checked.
Enum Constant and Description |
---|
Accessible |
Any |
Modifier and Type | Method and Description |
---|---|
static ListCompartmentsRequest.AccessLevel |
create(String key) |
String |
getValue() |
static ListCompartmentsRequest.AccessLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ListCompartmentsRequest.AccessLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListCompartmentsRequest.AccessLevel Any
public static final ListCompartmentsRequest.AccessLevel Accessible
public static ListCompartmentsRequest.AccessLevel[] values()
for (ListCompartmentsRequest.AccessLevel c : ListCompartmentsRequest.AccessLevel.values()) System.out.println(c);
public static ListCompartmentsRequest.AccessLevel valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static ListCompartmentsRequest.AccessLevel create(String key)
Copyright © 2016–2024. All rights reserved.