CopyableBuilder<SearchProductsRequest.Builder,SearchProductsRequest>
, SdkBuilder<SearchProductsRequest.Builder,SearchProductsRequest>
public static interface SearchProductsRequest.Builder extends CopyableBuilder<SearchProductsRequest.Builder,SearchProductsRequest>
Modifier and Type | Method | Description |
---|---|---|
SearchProductsRequest.Builder |
acceptLanguage(String acceptLanguage) |
The language code to use for this operation.
|
SearchProductsRequest.Builder |
filters(Map<String,? extends Collection<String>> filters) |
The list of filters with which to limit search results.
|
SearchProductsRequest.Builder |
pageSize(Integer pageSize) |
The maximum number of items to return in the results.
|
SearchProductsRequest.Builder |
pageToken(String pageToken) |
The page token of the first page retrieved.
|
SearchProductsRequest.Builder |
sortBy(String sortBy) |
The sort field specifier.
|
SearchProductsRequest.Builder |
sortBy(ProductViewSortBy sortBy) |
The sort field specifier.
|
SearchProductsRequest.Builder |
sortOrder(String sortOrder) |
The sort order specifier.
|
SearchProductsRequest.Builder |
sortOrder(SortOrder sortOrder) |
The sort order specifier.
|
copy
apply, build
SearchProductsRequest.Builder acceptLanguage(String acceptLanguage)
The language code to use for this operation. Supported language codes are as follows:
"en" (English)
"jp" (Japanese)
"zh" (Chinese)
If no code is specified, "en" is used as the default.
acceptLanguage
- The language code to use for this operation. Supported language codes are as follows:
"en" (English)
"jp" (Japanese)
"zh" (Chinese)
If no code is specified, "en" is used as the default.
SearchProductsRequest.Builder filters(Map<String,? extends Collection<String>> filters)
The list of filters with which to limit search results. If no search filters are specified, the output is all the products to which the calling user has access.
filters
- The list of filters with which to limit search results. If no search filters are specified, the output
is all the products to which the calling user has access.SearchProductsRequest.Builder pageSize(Integer pageSize)
The maximum number of items to return in the results. If more results exist than fit in the specified
PageSize
, the value of NextPageToken
in the response is non-null.
pageSize
- The maximum number of items to return in the results. If more results exist than fit in the specified
PageSize
, the value of NextPageToken
in the response is non-null.SearchProductsRequest.Builder sortBy(String sortBy)
The sort field specifier. If no value is specified, results are not sorted.
sortBy
- The sort field specifier. If no value is specified, results are not sorted.ProductViewSortBy
SearchProductsRequest.Builder sortBy(ProductViewSortBy sortBy)
The sort field specifier. If no value is specified, results are not sorted.
sortBy
- The sort field specifier. If no value is specified, results are not sorted.ProductViewSortBy
SearchProductsRequest.Builder sortOrder(String sortOrder)
The sort order specifier. If no value is specified, results are not sorted.
sortOrder
- The sort order specifier. If no value is specified, results are not sorted.SortOrder
SearchProductsRequest.Builder sortOrder(SortOrder sortOrder)
The sort order specifier. If no value is specified, results are not sorted.
sortOrder
- The sort order specifier. If no value is specified, results are not sorted.SortOrder
SearchProductsRequest.Builder pageToken(String pageToken)
The page token of the first page retrieved. If null, this retrieves the first page of size
PageSize
.
pageToken
- The page token of the first page retrieved. If null, this retrieves the first page of size
PageSize
.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.