@InterfaceAudience.Public @InterfaceStability.Stable public enum ReservationACL extends Enum<ReservationACL>
ReservationACL
enumerates the various ACLs for reservations.
The ACL is one of:
ADMINISTER_RESERVATIONS
- ACL to create, list, update and
delete reservations.
LIST_RESERVATIONS
- ACL to list reservations. SUBMIT_RESERVATIONS
- ACL to create reservations. Enum Constant and Description |
---|
ADMINISTER_RESERVATIONS
ACL to create, list, update and delete reservations.
|
LIST_RESERVATIONS
ACL to list reservations.
|
SUBMIT_RESERVATIONS
ACL to create reservations.
|
Modifier and Type | Method and Description |
---|---|
static ReservationACL |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReservationACL[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReservationACL ADMINISTER_RESERVATIONS
public static final ReservationACL LIST_RESERVATIONS
public static final ReservationACL SUBMIT_RESERVATIONS
public static ReservationACL[] values()
for (ReservationACL c : ReservationACL.values()) System.out.println(c);
public static ReservationACL 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 nullCopyright © 2023 Apache Software Foundation. All rights reserved.