public class History extends Object implements Serializable
Paginated representation of a workflow history for a workflow execution. This is the up to date, complete and authoritative record of the events related to all tasks and events in the life of the workflow execution.
Constructor and Description |
---|
History() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<HistoryEvent> |
getEvents()
The list of history events.
|
String |
getNextPageToken()
The token for the next page.
|
int |
hashCode() |
void |
setEvents(Collection<HistoryEvent> events)
The list of history events.
|
void |
setNextPageToken(String nextPageToken)
The token for the next page.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
History |
withEvents(Collection<HistoryEvent> events)
The list of history events.
|
History |
withEvents(HistoryEvent... events)
The list of history events.
|
History |
withNextPageToken(String nextPageToken)
The token for the next page.
|
public List<HistoryEvent> getEvents()
public void setEvents(Collection<HistoryEvent> events)
events
- The list of history events.public History withEvents(HistoryEvent... events)
Returns a reference to this object so that method calls can be chained together.
events
- The list of history events.public History withEvents(Collection<HistoryEvent> events)
Returns a reference to this object so that method calls can be chained together.
events
- The list of history events.public String getNextPageToken()
Constraints:
Length: 0 - 2048
public void setNextPageToken(String nextPageToken)
Constraints:
Length: 0 - 2048
nextPageToken
- The token for the next page. If set, the history consists of more than
one page and the next page can be retrieved by repeating the request
with this token and all other arguments unchanged.public History withNextPageToken(String nextPageToken)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 2048
nextPageToken
- The token for the next page. If set, the history consists of more than
one page and the next page can be retrieved by repeating the request
with this token and all other arguments unchanged.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.