@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListPriceListsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListPriceListsResult() |
Modifier and Type | Method and Description |
---|---|
ListPriceListsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The pagination token that indicates the next set of results to retrieve.
|
List<PriceList> |
getPriceLists()
The type of price list references that match your request.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The pagination token that indicates the next set of results to retrieve.
|
void |
setPriceLists(Collection<PriceList> priceLists)
The type of price list references that match your request.
|
String |
toString()
Returns a string representation of this object.
|
ListPriceListsResult |
withNextToken(String nextToken)
The pagination token that indicates the next set of results to retrieve.
|
ListPriceListsResult |
withPriceLists(Collection<PriceList> priceLists)
The type of price list references that match your request.
|
ListPriceListsResult |
withPriceLists(PriceList... priceLists)
The type of price list references that match your request.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<PriceList> getPriceLists()
The type of price list references that match your request.
public void setPriceLists(Collection<PriceList> priceLists)
The type of price list references that match your request.
priceLists
- The type of price list references that match your request.public ListPriceListsResult withPriceLists(PriceList... priceLists)
The type of price list references that match your request.
NOTE: This method appends the values to the existing list (if any). Use
setPriceLists(java.util.Collection)
or withPriceLists(java.util.Collection)
if you want to
override the existing values.
priceLists
- The type of price list references that match your request.public ListPriceListsResult withPriceLists(Collection<PriceList> priceLists)
The type of price list references that match your request.
priceLists
- The type of price list references that match your request.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 ListPriceListsResult 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 ListPriceListsResult clone()