@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SearchProductsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
SearchProductsResult() |
Modifier and Type | Method and Description |
---|---|
SearchProductsResult |
addProductViewAggregationsEntry(String key,
List<ProductViewAggregationValue> value)
Add a single ProductViewAggregations entry
|
SearchProductsResult |
clearProductViewAggregationsEntries()
Removes all the entries added into ProductViewAggregations.
|
SearchProductsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextPageToken()
The page token to use to retrieve the next set of results.
|
Map<String,List<ProductViewAggregationValue>> |
getProductViewAggregations()
The product view aggregations.
|
List<ProductViewSummary> |
getProductViewSummaries()
Information about the product views.
|
int |
hashCode() |
void |
setNextPageToken(String nextPageToken)
The page token to use to retrieve the next set of results.
|
void |
setProductViewAggregations(Map<String,List<ProductViewAggregationValue>> productViewAggregations)
The product view aggregations.
|
void |
setProductViewSummaries(Collection<ProductViewSummary> productViewSummaries)
Information about the product views.
|
String |
toString()
Returns a string representation of this object.
|
SearchProductsResult |
withNextPageToken(String nextPageToken)
The page token to use to retrieve the next set of results.
|
SearchProductsResult |
withProductViewAggregations(Map<String,List<ProductViewAggregationValue>> productViewAggregations)
The product view aggregations.
|
SearchProductsResult |
withProductViewSummaries(Collection<ProductViewSummary> productViewSummaries)
Information about the product views.
|
SearchProductsResult |
withProductViewSummaries(ProductViewSummary... productViewSummaries)
Information about the product views.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ProductViewSummary> getProductViewSummaries()
Information about the product views.
public void setProductViewSummaries(Collection<ProductViewSummary> productViewSummaries)
Information about the product views.
productViewSummaries
- Information about the product views.public SearchProductsResult withProductViewSummaries(ProductViewSummary... productViewSummaries)
Information about the product views.
NOTE: This method appends the values to the existing list (if any). Use
setProductViewSummaries(java.util.Collection)
or withProductViewSummaries(java.util.Collection)
if you want to override the existing values.
productViewSummaries
- Information about the product views.public SearchProductsResult withProductViewSummaries(Collection<ProductViewSummary> productViewSummaries)
Information about the product views.
productViewSummaries
- Information about the product views.public Map<String,List<ProductViewAggregationValue>> getProductViewAggregations()
The product view aggregations.
public void setProductViewAggregations(Map<String,List<ProductViewAggregationValue>> productViewAggregations)
The product view aggregations.
productViewAggregations
- The product view aggregations.public SearchProductsResult withProductViewAggregations(Map<String,List<ProductViewAggregationValue>> productViewAggregations)
The product view aggregations.
productViewAggregations
- The product view aggregations.public SearchProductsResult addProductViewAggregationsEntry(String key, List<ProductViewAggregationValue> value)
public SearchProductsResult clearProductViewAggregationsEntries()
public void setNextPageToken(String nextPageToken)
The page token to use to retrieve the next set of results. If there are no additional results, this value is null.
nextPageToken
- The page token to use to retrieve the next set of results. If there are no additional results, this value
is null.public String getNextPageToken()
The page token to use to retrieve the next set of results. If there are no additional results, this value is null.
public SearchProductsResult withNextPageToken(String nextPageToken)
The page token to use to retrieve the next set of results. If there are no additional results, this value is null.
nextPageToken
- The page token to use to retrieve the next set of results. If there are no additional results, this value
is null.public String toString()
toString
in class Object
Object.toString()
public SearchProductsResult clone()