Enum ListStagesRequest.SortBy

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

    public static enum ListStagesRequest.SortBy
    extends Enum<ListStagesRequest.SortBy>
    implements BmcEnum
    The field used to sort Stages.

    Only one sort order is allowed. Default order for status is the following sequence: CREATED, IN_PROGRESS, SUCCEEDED, FAILED, CANCELING, and CANCELED. Default order for timeCreated is descending. Default order for timeFinished is descending. Default order for timeStarted is descending. Default order for type is the following sequence: DETECT, RECOMMEND, VERIFY, and APPLY.

    • Method Detail

      • values

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