@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetProductsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetProductsResult() |
Modifier and Type | Method and Description |
---|---|
GetProductsResult |
clone() |
boolean |
equals(Object obj) |
String |
getFormatVersion()
The format version of the response.
|
String |
getNextToken()
The pagination token that indicates the next set of results to retrieve.
|
List<String> |
getPriceList()
The list of products that match your filters.
|
int |
hashCode() |
void |
setFormatVersion(String formatVersion)
The format version of the response.
|
void |
setNextToken(String nextToken)
The pagination token that indicates the next set of results to retrieve.
|
void |
setPriceList(Collection<String> priceList)
The list of products that match your filters.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetProductsResult |
withFormatVersion(String formatVersion)
The format version of the response.
|
GetProductsResult |
withNextToken(String nextToken)
The pagination token that indicates the next set of results to retrieve.
|
GetProductsResult |
withPriceList(Collection<String> priceList)
The list of products that match your filters.
|
GetProductsResult |
withPriceList(String... priceList)
The list of products that match your filters.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setFormatVersion(String formatVersion)
The format version of the response. For example, aws_v1.
formatVersion
- The format version of the response. For example, aws_v1.public String getFormatVersion()
The format version of the response. For example, aws_v1.
public GetProductsResult withFormatVersion(String formatVersion)
The format version of the response. For example, aws_v1.
formatVersion
- The format version of the response. For example, aws_v1.public List<String> getPriceList()
The list of products that match your filters. The list contains both the product metadata and the price information.
public void setPriceList(Collection<String> priceList)
The list of products that match your filters. The list contains both the product metadata and the price information.
priceList
- The list of products that match your filters. The list contains both the product metadata and the price
information.public GetProductsResult withPriceList(String... priceList)
The list of products that match your filters. The list contains both the product metadata and the price information.
NOTE: This method appends the values to the existing list (if any). Use
setPriceList(java.util.Collection)
or withPriceList(java.util.Collection)
if you want to
override the existing values.
priceList
- The list of products that match your filters. The list contains both the product metadata and the price
information.public GetProductsResult withPriceList(Collection<String> priceList)
The list of products that match your filters. The list contains both the product metadata and the price information.
priceList
- The list of products that match your filters. The list contains both the product metadata and the price
information.public void setNextToken(String nextToken)
The pagination token that indicates the next set of results to retrieve.
nextToken
- The pagination token that indicates the next set of results to retrieve.public String getNextToken()
The pagination token that indicates the next set of results to retrieve.
public GetProductsResult withNextToken(String nextToken)
The pagination token that indicates the next set of results to retrieve.
nextToken
- The pagination token that indicates the next set of results to retrieve.public String toString()
toString
in class Object
Object.toString()
public GetProductsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.