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