@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListOrdersResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListOrdersResult() |
Modifier and Type | Method and Description |
---|---|
ListOrdersResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token for the next page of results.
|
List<Order> |
getOrders()
Information about the orders.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token for the next page of results.
|
void |
setOrders(Collection<Order> orders)
Information about the orders.
|
String |
toString()
Returns a string representation of this object.
|
ListOrdersResult |
withNextToken(String nextToken)
The token for the next page of results.
|
ListOrdersResult |
withOrders(Collection<Order> orders)
Information about the orders.
|
ListOrdersResult |
withOrders(Order... orders)
Information about the orders.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
The token for the next page of results.
nextToken
- The token for the next page of results.public String getNextToken()
The token for the next page of results.
public ListOrdersResult withNextToken(String nextToken)
The token for the next page of results.
nextToken
- The token for the next page of results.public List<Order> getOrders()
Information about the orders.
public void setOrders(Collection<Order> orders)
Information about the orders.
orders
- Information about the orders.public ListOrdersResult withOrders(Order... orders)
Information about the orders.
NOTE: This method appends the values to the existing list (if any). Use
setOrders(java.util.Collection)
or withOrders(java.util.Collection)
if you want to override the
existing values.
orders
- Information about the orders.public ListOrdersResult withOrders(Collection<Order> orders)
Information about the orders.
orders
- Information about the orders.public String toString()
toString
in class Object
Object.toString()
public ListOrdersResult clone()