Enum ListNetworkSourcesRequest.SortBy

  • All Implemented Interfaces:
    BmcEnum, Serializable, Comparable<ListNetworkSourcesRequest.SortBy>
    Enclosing class:
    ListNetworkSourcesRequest

    public static enum ListNetworkSourcesRequest.SortBy
    extends Enum<ListNetworkSourcesRequest.SortBy>
    implements BmcEnum
    The field to sort by.

    You can provide one sort order (sortOrder). Default order for TIMECREATED is descending. Default order for NAME is ascending. The NAME sort order is case sensitive.

    *Note:** In general, some "List" operations (for example, ListInstances) let you optionally filter by Availability Domain if the scope of the resource type is within a single Availability Domain. If you call one of these "List" operations without specifying an Availability Domain, the resources are grouped by Availability Domain, then sorted.

    • Method Detail

      • values

        public static ListNetworkSourcesRequest.SortBy[] 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 (ListNetworkSourcesRequest.SortBy c : ListNetworkSourcesRequest.SortBy.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ListNetworkSourcesRequest.SortBy 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