public static enum ListDataSourcesRequest.AccessLevel extends Enum<ListDataSourcesRequest.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 and Description |
---|
Accessible |
Restricted |
Modifier and Type | Method and Description |
---|---|
static ListDataSourcesRequest.AccessLevel |
create(String key) |
String |
getValue() |
static ListDataSourcesRequest.AccessLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ListDataSourcesRequest.AccessLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListDataSourcesRequest.AccessLevel Restricted
public static final ListDataSourcesRequest.AccessLevel Accessible
public static ListDataSourcesRequest.AccessLevel[] values()
for (ListDataSourcesRequest.AccessLevel c : ListDataSourcesRequest.AccessLevel.values()) System.out.println(c);
public static ListDataSourcesRequest.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 ListDataSourcesRequest.AccessLevel create(String key)
Copyright © 2016–2024. All rights reserved.