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