@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeProductsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeProductsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeProductsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The pagination token to use to request the next page of results.
|
List<Product> |
getProducts()
A list of products, including details for each product.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The pagination token to use to request the next page of results.
|
void |
setProducts(Collection<Product> products)
A list of products, including details for each product.
|
String |
toString()
Returns a string representation of this object.
|
DescribeProductsResult |
withNextToken(String nextToken)
The pagination token to use to request the next page of results.
|
DescribeProductsResult |
withProducts(Collection<Product> products)
A list of products, including details for each product.
|
DescribeProductsResult |
withProducts(Product... products)
A list of products, including details for each product.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Product> getProducts()
A list of products, including details for each product.
public void setProducts(Collection<Product> products)
A list of products, including details for each product.
products
- A list of products, including details for each product.public DescribeProductsResult withProducts(Product... products)
A list of products, including details for each product.
NOTE: This method appends the values to the existing list (if any). Use
setProducts(java.util.Collection)
or withProducts(java.util.Collection)
if you want to override
the existing values.
products
- A list of products, including details for each product.public DescribeProductsResult withProducts(Collection<Product> products)
A list of products, including details for each product.
products
- A list of products, including details for each product.public void setNextToken(String nextToken)
The pagination token to use to request the next page of results.
nextToken
- The pagination token to use to request the next page of results.public String getNextToken()
The pagination token to use to request the next page of results.
public DescribeProductsResult withNextToken(String nextToken)
The pagination token to use to request the next page of results.
nextToken
- The pagination token to use to request the next page of results.public String toString()
toString
in class Object
Object.toString()
public DescribeProductsResult clone()