@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SearchProductsAsAdminRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
SearchProductsAsAdminRequest() |
Modifier and Type | Method and Description |
---|---|
SearchProductsAsAdminRequest |
addFiltersEntry(String key,
List<String> value) |
SearchProductsAsAdminRequest |
clearFiltersEntries()
Removes all the entries added into Filters.
|
SearchProductsAsAdminRequest |
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 |
getPortfolioId()
The portfolio identifier.
|
String |
getProductSource()
Access level of the source of the product.
|
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 |
setPortfolioId(String portfolioId)
The portfolio identifier.
|
void |
setProductSource(ProductSource productSource)
Access level of the source of the product.
|
void |
setProductSource(String productSource)
Access level of the source of the product.
|
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.
|
SearchProductsAsAdminRequest |
withAcceptLanguage(String acceptLanguage)
The language code.
|
SearchProductsAsAdminRequest |
withFilters(Map<String,List<String>> filters)
The list of filters with which to limit search results.
|
SearchProductsAsAdminRequest |
withPageSize(Integer pageSize)
The maximum number of items to return in the results.
|
SearchProductsAsAdminRequest |
withPageToken(String pageToken)
The page token of the first page retrieved.
|
SearchProductsAsAdminRequest |
withPortfolioId(String portfolioId)
The portfolio identifier.
|
SearchProductsAsAdminRequest |
withProductSource(ProductSource productSource)
Access level of the source of the product.
|
SearchProductsAsAdminRequest |
withProductSource(String productSource)
Access level of the source of the product.
|
SearchProductsAsAdminRequest |
withSortBy(ProductViewSortBy sortBy)
The sort field specifier.
|
SearchProductsAsAdminRequest |
withSortBy(String sortBy)
The sort field specifier.
|
SearchProductsAsAdminRequest |
withSortOrder(SortOrder sortOrder)
The sort order specifier.
|
SearchProductsAsAdminRequest |
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 SearchProductsAsAdminRequest 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 void setPortfolioId(String portfolioId)
The portfolio identifier.
portfolioId
- The portfolio identifier.public String getPortfolioId()
The portfolio identifier.
public SearchProductsAsAdminRequest withPortfolioId(String portfolioId)
The portfolio identifier.
portfolioId
- The portfolio identifier.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 administrator 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 administrator 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 administrator has access.public SearchProductsAsAdminRequest 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 administrator 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 administrator has access.public SearchProductsAsAdminRequest addFiltersEntry(String key, List<String> value)
public SearchProductsAsAdminRequest clearFiltersEntries()
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 SearchProductsAsAdminRequest 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 SearchProductsAsAdminRequest 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 SearchProductsAsAdminRequest 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 SearchProductsAsAdminRequest 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 SearchProductsAsAdminRequest 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 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 SearchProductsAsAdminRequest 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 setProductSource(String productSource)
Access level of the source of the product.
productSource
- Access level of the source of the product.ProductSource
public String getProductSource()
Access level of the source of the product.
ProductSource
public SearchProductsAsAdminRequest withProductSource(String productSource)
Access level of the source of the product.
productSource
- Access level of the source of the product.ProductSource
public void setProductSource(ProductSource productSource)
Access level of the source of the product.
productSource
- Access level of the source of the product.ProductSource
public SearchProductsAsAdminRequest withProductSource(ProductSource productSource)
Access level of the source of the product.
productSource
- Access level of the source of the product.ProductSource
public String toString()
toString
in class Object
Object.toString()
public SearchProductsAsAdminRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.