@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)
Add a single Filters entry
|
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 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 |
getPortfolioId()
The portfolio identifier.
|
String |
getProductSource()
Access level of the source of the product.
|
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 |
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.
|
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.
|
SearchProductsAsAdminRequest |
withAcceptLanguage(String acceptLanguage)
The language code.
|
SearchProductsAsAdminRequest |
withFilters(Map<String,List<String>> filters)
The search filters.
|
SearchProductsAsAdminRequest |
withPageSize(Integer pageSize)
The maximum number of items to return with this call.
|
SearchProductsAsAdminRequest |
withPageToken(String pageToken)
The page token for the next set of results.
|
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.
|
SearchProductsAsAdminRequest |
withSortBy(String sortBy)
The sort field.
|
SearchProductsAsAdminRequest |
withSortOrder(SortOrder sortOrder)
The sort order.
|
SearchProductsAsAdminRequest |
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 SearchProductsAsAdminRequest withAcceptLanguage(String acceptLanguage)
The language code.
jp
- Japanese
zh
- Chinese
acceptLanguage
- The language code.
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 search filters. If no search filters are specified, the output includes all products to which the administrator 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 administrator has access.
filters
- The search filters. If no search filters are specified, the output includes all products to which the
administrator has access.public SearchProductsAsAdminRequest withFilters(Map<String,List<String>> filters)
The search filters. If no search filters are specified, the output includes all products to which the administrator has access.
filters
- The search filters. If no search filters are specified, the output includes all 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. 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 SearchProductsAsAdminRequest 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 SearchProductsAsAdminRequest 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 SearchProductsAsAdminRequest 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 SearchProductsAsAdminRequest 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 SearchProductsAsAdminRequest 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 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 SearchProductsAsAdminRequest 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 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()