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