@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SearchProductsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
SearchProductsRequest() |
Modifier and Type | Method and Description |
---|---|
SearchProductsRequest |
addFiltersEntry(String key,
List<String> value) |
SearchProductsRequest |
clearFiltersEntries()
Removes all the entries added into Filters.
|
SearchProductsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAcceptLanguage()
The language code.
|
Map<String,List<String>> |
getFilters()
The list of filters with which to limit search results.
|
Integer |
getPageSize()
The maximum number of items to return in the results.
|
String |
getPageToken()
The page token of the first page retrieved.
|
String |
getSortBy()
The sort field specifier.
|
String |
getSortOrder()
The sort order specifier.
|
int |
hashCode() |
void |
setAcceptLanguage(String acceptLanguage)
The language code.
|
void |
setFilters(Map<String,List<String>> filters)
The list of filters with which to limit search results.
|
void |
setPageSize(Integer pageSize)
The maximum number of items to return in the results.
|
void |
setPageToken(String pageToken)
The page token of the first page retrieved.
|
void |
setSortBy(ProductViewSortBy sortBy)
The sort field specifier.
|
void |
setSortBy(String sortBy)
The sort field specifier.
|
void |
setSortOrder(SortOrder sortOrder)
The sort order specifier.
|
void |
setSortOrder(String sortOrder)
The sort order specifier.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
SearchProductsRequest |
withAcceptLanguage(String acceptLanguage)
The language code.
|
SearchProductsRequest |
withFilters(Map<String,List<String>> filters)
The list of filters with which to limit search results.
|
SearchProductsRequest |
withPageSize(Integer pageSize)
The maximum number of items to return in the results.
|
SearchProductsRequest |
withPageToken(String pageToken)
The page token of the first page retrieved.
|
SearchProductsRequest |
withSortBy(ProductViewSortBy sortBy)
The sort field specifier.
|
SearchProductsRequest |
withSortBy(String sortBy)
The sort field specifier.
|
SearchProductsRequest |
withSortOrder(SortOrder sortOrder)
The sort order specifier.
|
SearchProductsRequest |
withSortOrder(String sortOrder)
The sort order specifier.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setAcceptLanguage(String acceptLanguage)
The language code.
en
- English (default)
jp
- Japanese
zh
- Chinese
acceptLanguage
- The language code.
en
- English (default)
jp
- Japanese
zh
- Chinese
public String getAcceptLanguage()
The language code.
en
- English (default)
jp
- Japanese
zh
- Chinese
en
- English (default)
jp
- Japanese
zh
- Chinese
public SearchProductsRequest withAcceptLanguage(String acceptLanguage)
The language code.
en
- English (default)
jp
- Japanese
zh
- Chinese
acceptLanguage
- The language code.
en
- English (default)
jp
- Japanese
zh
- Chinese
public Map<String,List<String>> getFilters()
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.
public void setFilters(Map<String,List<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.public SearchProductsRequest withFilters(Map<String,List<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.public SearchProductsRequest addFiltersEntry(String key, List<String> value)
public SearchProductsRequest clearFiltersEntries()
public void setPageSize(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.public Integer getPageSize()
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 value of NextPageToken
in the response is non-null.public SearchProductsRequest withPageSize(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.public void setSortBy(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
public String getSortBy()
The sort field specifier. If no value is specified, results are not sorted.
ProductViewSortBy
public SearchProductsRequest withSortBy(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
public void setSortBy(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
public SearchProductsRequest withSortBy(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
public void setSortOrder(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
public String getSortOrder()
The sort order specifier. If no value is specified, results are not sorted.
SortOrder
public SearchProductsRequest withSortOrder(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
public void setSortOrder(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
public SearchProductsRequest withSortOrder(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
public void setPageToken(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
.public String getPageToken()
The page token of the first page retrieved. If null, this retrieves the first page of size PageSize
.
PageSize
.public SearchProductsRequest withPageToken(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
.public String toString()
toString
in class Object
Object.toString()
public SearchProductsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.