Class OrderHistorySearchRequest.Builder
java.lang.Object
com.eqixiac.equinix.customerportal.model.json.creators.OrderHistorySearchRequest.Builder
- Enclosing class:
OrderHistorySearchRequest
Builder for
OrderHistorySearchRequest.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the request.filters(OrderHistorySearchRequest.Filters filters) Sets the search filters.Sets the page to return.Sets the free-text query.sorts(List<OrderHistorySearchRequest.Sort> sorts) Sets the sort directives.source(OrderHistorySearchSource... source) Varargs form ofsource(List).source(List<OrderHistorySearchSource> source) Restricts the fields a free-textqquery matches.
-
Method Details
-
filters
Sets the search filters.- Parameters:
filters- the filters, ornullfor none- Returns:
- this builder
-
source
Restricts the fields a free-textqquery matches.- Parameters:
source- the fields to match, ornullfor the service default- Returns:
- this builder
-
source
Varargs form ofsource(List).- Parameters:
source- the fields to match- Returns:
- this builder
-
q
Sets the free-text query.- Parameters:
q- the query text, for example an order number- Returns:
- this builder
-
sorts
Sets the sort directives.- Parameters:
sorts- the sort directives, in priority order- Returns:
- this builder
-
page
Sets the page to return.- Parameters:
page- the zero-based page number and size- Returns:
- this builder
-
build
-