Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.simpleworkflow.model
Class DecisionTaskCompletedEventAttributes

java.lang.Object
  extended by com.amazonaws.services.simpleworkflow.model.DecisionTaskCompletedEventAttributes

public class DecisionTaskCompletedEventAttributes
extends Object

Provides details of the DecisionTaskCompleted event.


Constructor Summary
DecisionTaskCompletedEventAttributes()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getExecutionContext()
          User defined context for the workflow execution.
 Long getScheduledEventId()
          The id of the DecisionTaskScheduled event that was recorded when this decision task was scheduled.
 Long getStartedEventId()
          The Id of the DecisionTaskStarted event recorded when this decision task was started.
 int hashCode()
           
 void setExecutionContext(String executionContext)
          User defined context for the workflow execution.
 void setScheduledEventId(Long scheduledEventId)
          The id of the DecisionTaskScheduled event that was recorded when this decision task was scheduled.
 void setStartedEventId(Long startedEventId)
          The Id of the DecisionTaskStarted event recorded when this decision task was started.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DecisionTaskCompletedEventAttributes withExecutionContext(String executionContext)
          User defined context for the workflow execution.
 DecisionTaskCompletedEventAttributes withScheduledEventId(Long scheduledEventId)
          The id of the DecisionTaskScheduled event that was recorded when this decision task was scheduled.
 DecisionTaskCompletedEventAttributes withStartedEventId(Long startedEventId)
          The Id of the DecisionTaskStarted event recorded when this decision task was started.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DecisionTaskCompletedEventAttributes

public DecisionTaskCompletedEventAttributes()
Method Detail

getExecutionContext

public String getExecutionContext()
User defined context for the workflow execution.

Constraints:
Length: 0 - 32768

Returns:
User defined context for the workflow execution.

setExecutionContext

public void setExecutionContext(String executionContext)
User defined context for the workflow execution.

Constraints:
Length: 0 - 32768

Parameters:
executionContext - User defined context for the workflow execution.

withExecutionContext

public DecisionTaskCompletedEventAttributes withExecutionContext(String executionContext)
User defined context for the workflow execution.

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

Constraints:
Length: 0 - 32768

Parameters:
executionContext - User defined context for the workflow execution.
Returns:
A reference to this updated object so that method calls can be chained together.

getScheduledEventId

public Long getScheduledEventId()
The id of the DecisionTaskScheduled event that was recorded when this decision task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

Returns:
The id of the DecisionTaskScheduled event that was recorded when this decision task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

setScheduledEventId

public void setScheduledEventId(Long scheduledEventId)
The id of the DecisionTaskScheduled event that was recorded when this decision task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

Parameters:
scheduledEventId - The id of the DecisionTaskScheduled event that was recorded when this decision task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

withScheduledEventId

public DecisionTaskCompletedEventAttributes withScheduledEventId(Long scheduledEventId)
The id of the DecisionTaskScheduled event that was recorded when this decision task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

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

Parameters:
scheduledEventId - The id of the DecisionTaskScheduled event that was recorded when this decision task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
Returns:
A reference to this updated object so that method calls can be chained together.

getStartedEventId

public Long getStartedEventId()
The Id of the DecisionTaskStarted event recorded when this decision task was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

Returns:
The Id of the DecisionTaskStarted event recorded when this decision task was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

setStartedEventId

public void setStartedEventId(Long startedEventId)
The Id of the DecisionTaskStarted event recorded when this decision task was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

Parameters:
startedEventId - The Id of the DecisionTaskStarted event recorded when this decision task was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

withStartedEventId

public DecisionTaskCompletedEventAttributes withStartedEventId(Long startedEventId)
The Id of the DecisionTaskStarted event recorded when this decision task was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

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

Parameters:
startedEventId - The Id of the DecisionTaskStarted event recorded when this decision task was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
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.