Interface Sort.Builder

    • Method Detail

      • ascending

        Sort.Builder ascending​(Boolean ascending)

        Indicates the name or identifier of the field or attribute that should be used as the basis for sorting the metrics.

        Parameters:
        ascending - Indicates the name or identifier of the field or attribute that should be used as the basis for sorting the metrics.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • field

        Sort.Builder field​(String field)

        Indicates the order in which you want to sort the metrics. By default, the list is sorted in ascending order. To sort the list in descending order, set this field to False.

        Parameters:
        field - Indicates the order in which you want to sort the metrics. By default, the list is sorted in ascending order. To sort the list in descending order, set this field to False.
        Returns:
        Returns a reference to this object so that method calls can be chained together.