@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()
A continuation token indicating whether additional data is available.
|
List<TransactionDescription> |
getTransactions()
A list of transactions.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
A continuation token indicating whether additional data is available.
|
void |
setTransactions(Collection<TransactionDescription> transactions)
A list of transactions.
|
String |
toString()
Returns a string representation of this object.
|
ListTransactionsResult |
withNextToken(String nextToken)
A continuation token indicating whether additional data is available.
|
ListTransactionsResult |
withTransactions(Collection<TransactionDescription> transactions)
A list of transactions.
|
ListTransactionsResult |
withTransactions(TransactionDescription... transactions)
A list of transactions.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<TransactionDescription> getTransactions()
A list of transactions. The record for each transaction is a TransactionDescription
object.
TransactionDescription
object.public void setTransactions(Collection<TransactionDescription> transactions)
A list of transactions. The record for each transaction is a TransactionDescription
object.
transactions
- A list of transactions. The record for each transaction is a TransactionDescription
object.public ListTransactionsResult withTransactions(TransactionDescription... transactions)
A list of transactions. The record for each transaction is a TransactionDescription
object.
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
- A list of transactions. The record for each transaction is a TransactionDescription
object.public ListTransactionsResult withTransactions(Collection<TransactionDescription> transactions)
A list of transactions. The record for each transaction is a TransactionDescription
object.
transactions
- A list of transactions. The record for each transaction is a TransactionDescription
object.public void setNextToken(String nextToken)
A continuation token indicating whether additional data is available.
nextToken
- A continuation token indicating whether additional data is available.public String getNextToken()
A continuation token indicating whether additional data is available.
public ListTransactionsResult withNextToken(String nextToken)
A continuation token indicating whether additional data is available.
nextToken
- A continuation token indicating whether additional data is available.public String toString()
toString
in class Object
Object.toString()
public ListTransactionsResult clone()