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