Interface Sort.Builder

    • Method Detail

      • sortBy

        Sort.Builder sortBy​(String sortBy)

        For ListEntities, supported attributes include LastModifiedDate (default) and EntityId. In addition to LastModifiedDate and EntityId, each EntityType might support additional fields.

        For ListChangeSets, supported attributes include StartTime and EndTime .

        Parameters:
        sortBy - For ListEntities, supported attributes include LastModifiedDate (default) and EntityId. In addition to LastModifiedDate and EntityId, each EntityType might support additional fields.

        For ListChangeSets, supported attributes include StartTime and EndTime.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sortOrder

        Sort.Builder sortOrder​(String sortOrder)

        The sorting order. Can be ASCENDING or DESCENDING. The default value is DESCENDING.

        Parameters:
        sortOrder - The sorting order. Can be ASCENDING or DESCENDING. The default value is DESCENDING.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SortOrder, SortOrder
      • sortOrder

        Sort.Builder sortOrder​(SortOrder sortOrder)

        The sorting order. Can be ASCENDING or DESCENDING. The default value is DESCENDING.

        Parameters:
        sortOrder - The sorting order. Can be ASCENDING or DESCENDING. The default value is DESCENDING.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SortOrder, SortOrder