Interface BotSortBy.Builder

    • Method Detail

      • attribute

        BotSortBy.Builder attribute​(String attribute)

        The attribute to use to sort the list of bots.

        Parameters:
        attribute - The attribute to use to sort the list of bots.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        BotSortAttribute, BotSortAttribute
      • attribute

        BotSortBy.Builder attribute​(BotSortAttribute attribute)

        The attribute to use to sort the list of bots.

        Parameters:
        attribute - The attribute to use to sort the list of bots.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        BotSortAttribute, BotSortAttribute
      • order

        BotSortBy.Builder order​(String order)

        The order to sort the list. You can choose ascending or descending.

        Parameters:
        order - The order to sort the list. You can choose ascending or descending.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SortOrder, SortOrder
      • order

        BotSortBy.Builder order​(SortOrder order)

        The order to sort the list. You can choose ascending or descending.

        Parameters:
        order - The order to sort the list. You can choose ascending or descending.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SortOrder, SortOrder