All Superinterfaces:
Buildable, CopyableBuilder<Sort.Builder,Sort>, SdkBuilder<Sort.Builder,Sort>, SdkPojo
Enclosing class:
Sort

public static interface Sort.Builder extends SdkPojo, CopyableBuilder<Sort.Builder,Sort>
  • Method Details

    • 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

      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: