Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.simpleworkflow.model
Class History

java.lang.Object
  extended by com.amazonaws.services.simpleworkflow.model.History
All Implemented Interfaces:
Serializable

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.

See Also:
Serialized Form

Constructor Summary
History()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

History

public History()
Method Detail

getEvents

public List<HistoryEvent> getEvents()
The list of history events.

Returns:
The list of history events.

setEvents

public void setEvents(Collection<HistoryEvent> events)
The list of history events.

Parameters:
events - The list of history events.

withEvents

public History withEvents(HistoryEvent... events)
The list of history events.

Returns a reference to this object so that method calls can be chained together.

Parameters:
events - The list of history events.
Returns:
A reference to this updated object so that method calls can be chained together.

withEvents

public History withEvents(Collection<HistoryEvent> events)
The list of history events.

Returns a reference to this object so that method calls can be chained together.

Parameters:
events - The list of history events.
Returns:
A reference to this updated object so that method calls can be chained together.

getNextPageToken

public String getNextPageToken()
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.

Constraints:
Length: 0 - 2048

Returns:
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.

setNextPageToken

public void setNextPageToken(String 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.

Constraints:
Length: 0 - 2048

Parameters:
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.

withNextPageToken

public History withNextPageToken(String 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.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 0 - 2048

Parameters:
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.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.