Enum ListSchedulesRequest.SortBy

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

    public static enum ListSchedulesRequest.SortBy
    extends Enum<ListSchedulesRequest.SortBy>
    implements BmcEnum
    Specifies the field to sort by.

    Accepts only one field. By default, when you sort by time fields, results are shown in descending order. All other fields default to ascending order. Sorting related parameters are ignored when parameter query is present (search operation and sorting order is by relevance score in descending order).

    • Method Detail

      • values

        public static ListSchedulesRequest.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 (ListSchedulesRequest.SortBy c : ListSchedulesRequest.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 ListSchedulesRequest.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