public static class FacetedSearchSortRequest.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
FacetedSearchSortRequest |
build() |
FacetedSearchSortRequest.Builder |
copy(FacetedSearchSortRequest model) |
FacetedSearchSortRequest.Builder |
sortBy(String sortBy)
Filed name that needs to be sorted by.
|
FacetedSearchSortRequest.Builder |
sortOrder(FacetedSearchSortRequest.SortOrder sortOrder)
Sort order for search results.
|
public FacetedSearchSortRequest.Builder sortBy(String sortBy)
Filed name that needs to be sorted by.
sortBy
- the value to setpublic FacetedSearchSortRequest.Builder sortOrder(FacetedSearchSortRequest.SortOrder sortOrder)
Sort order for search results.
sortOrder
- the value to setpublic FacetedSearchSortRequest build()
public FacetedSearchSortRequest.Builder copy(FacetedSearchSortRequest model)
Copyright © 2016–2024. All rights reserved.