Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.simpleworkflow.model
Class TimerCanceledEventAttributes

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

public class TimerCanceledEventAttributes
extends Object
implements Serializable

Provides details of the TimerCanceled event.

See Also:
Serialized Form

Constructor Summary
TimerCanceledEventAttributes()
           
 
Method Summary
 boolean equals(Object obj)
           
 Long getDecisionTaskCompletedEventId()
          The id of the DecisionTaskCompleted event corresponding to the decision task that resulted in the CancelTimer decision to cancel this timer.
 Long getStartedEventId()
          The id of the TimerStarted event that was recorded when this timer was started.
 String getTimerId()
          The unique Id of the timer that was canceled.
 int hashCode()
           
 void setDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
          The id of the DecisionTaskCompleted event corresponding to the decision task that resulted in the CancelTimer decision to cancel this timer.
 void setStartedEventId(Long startedEventId)
          The id of the TimerStarted event that was recorded when this timer was started.
 void setTimerId(String timerId)
          The unique Id of the timer that was canceled.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 TimerCanceledEventAttributes withDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
          The id of the DecisionTaskCompleted event corresponding to the decision task that resulted in the CancelTimer decision to cancel this timer.
 TimerCanceledEventAttributes withStartedEventId(Long startedEventId)
          The id of the TimerStarted event that was recorded when this timer was started.
 TimerCanceledEventAttributes withTimerId(String timerId)
          The unique Id of the timer that was canceled.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TimerCanceledEventAttributes

public TimerCanceledEventAttributes()
Method Detail

getTimerId

public String getTimerId()
The unique Id of the timer that was canceled.

Constraints:
Length: 1 - 256

Returns:
The unique Id of the timer that was canceled.

setTimerId

public void setTimerId(String timerId)
The unique Id of the timer that was canceled.

Constraints:
Length: 1 - 256

Parameters:
timerId - The unique Id of the timer that was canceled.

withTimerId

public TimerCanceledEventAttributes withTimerId(String timerId)
The unique Id of the timer that was canceled.

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

Constraints:
Length: 1 - 256

Parameters:
timerId - The unique Id of the timer that was canceled.
Returns:
A reference to this updated object so that method calls can be chained together.

getStartedEventId

public Long getStartedEventId()
The id of the TimerStarted event that was recorded when this timer 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 TimerStarted event that was recorded when this timer 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 TimerStarted event that was recorded when this timer 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 TimerStarted event that was recorded when this timer was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

withStartedEventId

public TimerCanceledEventAttributes withStartedEventId(Long startedEventId)
The id of the TimerStarted event that was recorded when this timer 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 TimerStarted event that was recorded when this timer 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.

getDecisionTaskCompletedEventId

public Long getDecisionTaskCompletedEventId()
The id of the DecisionTaskCompleted event corresponding to the decision task that resulted in the CancelTimer decision to cancel this timer. This information can be useful for diagnosing problems by tracing back the cause of events.

Returns:
The id of the DecisionTaskCompleted event corresponding to the decision task that resulted in the CancelTimer decision to cancel this timer. This information can be useful for diagnosing problems by tracing back the cause of events.

setDecisionTaskCompletedEventId

public void setDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
The id of the DecisionTaskCompleted event corresponding to the decision task that resulted in the CancelTimer decision to cancel this timer. This information can be useful for diagnosing problems by tracing back the cause of events.

Parameters:
decisionTaskCompletedEventId - The id of the DecisionTaskCompleted event corresponding to the decision task that resulted in the CancelTimer decision to cancel this timer. This information can be useful for diagnosing problems by tracing back the cause of events.

withDecisionTaskCompletedEventId

public TimerCanceledEventAttributes withDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
The id of the DecisionTaskCompleted event corresponding to the decision task that resulted in the CancelTimer decision to cancel this timer. This information can be useful for diagnosing problems by tracing back the cause of events.

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

Parameters:
decisionTaskCompletedEventId - The id of the DecisionTaskCompleted event corresponding to the decision task that resulted in the CancelTimer decision to cancel this timer. This information can be useful for diagnosing problems by tracing back the cause of events.
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.