Enum GetVcnTopologyRequest.AccessLevel

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

    public static enum GetVcnTopologyRequest.AccessLevel
    extends Enum<GetVcnTopologyRequest.AccessLevel>
    implements BmcEnum
    Valid values are ANY and ACCESSIBLE.

    The default is ANY. Setting this to ACCESSIBLE returns only compartments for which a user has INSPECT permissions, either directly or indirectly (permissions can be on a resource in a subcompartment). A restricted set of fields is returned for compartments in which a user has indirect INSPECT permissions.

    When set to ANY permissions are not checked.

    • Method Detail

      • values

        public static GetVcnTopologyRequest.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 (GetVcnTopologyRequest.AccessLevel c : GetVcnTopologyRequest.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 GetVcnTopologyRequest.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