@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)
Add a single Filters entry
|
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 search filters.
|
Integer |
getPageSize()
The maximum number of items to return with this call.
|
String |
getPageToken()
The page token for the next set of results.
|
String |
getSortBy()
The sort field.
|
String |
getSortOrder()
The sort order.
|
int |
hashCode() |
void |
setAcceptLanguage(String acceptLanguage)
The language code.
|
void |
setFilters(Map<String,List<String>> filters)
The search filters.
|
void |
setPageSize(Integer pageSize)
The maximum number of items to return with this call.
|
void |
setPageToken(String pageToken)
The page token for the next set of results.
|
void |
setSortBy(ProductViewSortBy sortBy)
The sort field.
|
void |
setSortBy(String sortBy)
The sort field.
|
void |
setSortOrder(SortOrder sortOrder)
The sort order.
|
void |
setSortOrder(String sortOrder)
The sort order.
|
String |
toString()
Returns a string representation of this object.
|
SearchProductsRequest |
withAcceptLanguage(String acceptLanguage)
The language code.
|
SearchProductsRequest |
withFilters(Map<String,List<String>> filters)
The search filters.
|
SearchProductsRequest |
withPageSize(Integer pageSize)
The maximum number of items to return with this call.
|
SearchProductsRequest |
withPageToken(String pageToken)
The page token for the next set of results.
|
SearchProductsRequest |
withSortBy(ProductViewSortBy sortBy)
The sort field.
|
SearchProductsRequest |
withSortBy(String sortBy)
The sort field.
|
SearchProductsRequest |
withSortOrder(SortOrder sortOrder)
The sort order.
|
SearchProductsRequest |
withSortOrder(String sortOrder)
The sort order.
|
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.
jp
- Japanese
zh
- Chinese
acceptLanguage
- The language code.
jp
- Japanese
zh
- Chinese
public String getAcceptLanguage()
The language code.
jp
- Japanese
zh
- Chinese
jp
- Japanese
zh
- Chinese
public SearchProductsRequest withAcceptLanguage(String acceptLanguage)
The language code.
jp
- Japanese
zh
- Chinese
acceptLanguage
- The language code.
jp
- Japanese
zh
- Chinese
public Map<String,List<String>> getFilters()
The search filters. If no search filters are specified, the output includes all products to which the caller has access.
public void setFilters(Map<String,List<String>> filters)
The search filters. If no search filters are specified, the output includes all products to which the caller has access.
filters
- The search filters. If no search filters are specified, the output includes all products to which the
caller has access.public SearchProductsRequest withFilters(Map<String,List<String>> filters)
The search filters. If no search filters are specified, the output includes all products to which the caller has access.
filters
- The search filters. If no search filters are specified, the output includes all products to which the
caller 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 with this call.
pageSize
- The maximum number of items to return with this call.public Integer getPageSize()
The maximum number of items to return with this call.
public SearchProductsRequest withPageSize(Integer pageSize)
The maximum number of items to return with this call.
pageSize
- The maximum number of items to return with this call.public void setSortBy(String sortBy)
The sort field. If no value is specified, the results are not sorted.
sortBy
- The sort field. If no value is specified, the results are not sorted.ProductViewSortBy
public String getSortBy()
The sort field. If no value is specified, the results are not sorted.
ProductViewSortBy
public SearchProductsRequest withSortBy(String sortBy)
The sort field. If no value is specified, the results are not sorted.
sortBy
- The sort field. If no value is specified, the results are not sorted.ProductViewSortBy
public void setSortBy(ProductViewSortBy sortBy)
The sort field. If no value is specified, the results are not sorted.
sortBy
- The sort field. If no value is specified, the results are not sorted.ProductViewSortBy
public SearchProductsRequest withSortBy(ProductViewSortBy sortBy)
The sort field. If no value is specified, the results are not sorted.
sortBy
- The sort field. If no value is specified, the results are not sorted.ProductViewSortBy
public void setSortOrder(String sortOrder)
The sort order. If no value is specified, the results are not sorted.
sortOrder
- The sort order. If no value is specified, the results are not sorted.SortOrder
public String getSortOrder()
The sort order. If no value is specified, the results are not sorted.
SortOrder
public SearchProductsRequest withSortOrder(String sortOrder)
The sort order. If no value is specified, the results are not sorted.
sortOrder
- The sort order. If no value is specified, the results are not sorted.SortOrder
public void setSortOrder(SortOrder sortOrder)
The sort order. If no value is specified, the results are not sorted.
sortOrder
- The sort order. If no value is specified, the results are not sorted.SortOrder
public SearchProductsRequest withSortOrder(SortOrder sortOrder)
The sort order. If no value is specified, the results are not sorted.
sortOrder
- The sort order. If no value is specified, the results are not sorted.SortOrder
public void setPageToken(String pageToken)
The page token for the next set of results. To retrieve the first set of results, use null.
pageToken
- The page token for the next set of results. To retrieve the first set of results, use null.public String getPageToken()
The page token for the next set of results. To retrieve the first set of results, use null.
public SearchProductsRequest withPageToken(String pageToken)
The page token for the next set of results. To retrieve the first set of results, use null.
pageToken
- The page token for the next set of results. To retrieve the first set of results, use null.public String toString()
toString
in class Object
Object.toString()
public SearchProductsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()