Enum ListUsersRequest.AccessLevel

  • All Implemented Interfaces:
    BmcEnum, Serializable, Comparable<ListUsersRequest.AccessLevel>
    Enclosing class:
    ListUsersRequest

    public static enum ListUsersRequest.AccessLevel
    extends Enum<ListUsersRequest.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.

    • Method Detail

      • values

        public static ListUsersRequest.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 (ListUsersRequest.AccessLevel c : ListUsersRequest.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 ListUsersRequest.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 name
        NullPointerException - if the argument is null