@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 token that is required for pagination.
|
List<Product> |
getProducts()
A list of products, including details for each product.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token that is required for pagination.
|
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 token that is required for pagination.
|
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 token that is required for pagination.
nextToken
- The token that is required for pagination.public String getNextToken()
The token that is required for pagination.
public DescribeProductsResult withNextToken(String nextToken)
The token that is required for pagination.
nextToken
- The token that is required for pagination.public String toString()
toString
in class Object
Object.toString()
public DescribeProductsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.