Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.simpleworkflow.model
Class TimerStartedEventAttributes

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

public class TimerStartedEventAttributes
extends Object

Provides details of the TimerStarted event.


Constructor Summary
TimerStartedEventAttributes()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getControl()
          Optional data attached to the event that can be used by the decider in subsequent workflow tasks.
 Long getDecisionTaskCompletedEventId()
          The id of the DecisionTaskCompleted event corresponding to the decision task that resulted in the StartTimer decision for this activity task.
 String getStartToFireTimeout()
          The duration of time after which the timer will fire.
 String getTimerId()
          The unique Id of the timer that was started.
 int hashCode()
           
 void setControl(String control)
          Optional data attached to the event that can be used by the decider in subsequent workflow tasks.
 void setDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
          The id of the DecisionTaskCompleted event corresponding to the decision task that resulted in the StartTimer decision for this activity task.
 void setStartToFireTimeout(String startToFireTimeout)
          The duration of time after which the timer will fire.
 void setTimerId(String timerId)
          The unique Id of the timer that was started.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 TimerStartedEventAttributes withControl(String control)
          Optional data attached to the event that can be used by the decider in subsequent workflow tasks.
 TimerStartedEventAttributes withDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
          The id of the DecisionTaskCompleted event corresponding to the decision task that resulted in the StartTimer decision for this activity task.
 TimerStartedEventAttributes withStartToFireTimeout(String startToFireTimeout)
          The duration of time after which the timer will fire.
 TimerStartedEventAttributes withTimerId(String timerId)
          The unique Id of the timer that was started.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TimerStartedEventAttributes

public TimerStartedEventAttributes()
Method Detail

getTimerId

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

Constraints:
Length: 1 - 256

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

setTimerId

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

Constraints:
Length: 1 - 256

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

withTimerId

public TimerStartedEventAttributes withTimerId(String timerId)
The unique Id of the timer that was started.

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

getControl

public String getControl()
Optional data attached to the event that can be used by the decider in subsequent workflow tasks.

Constraints:
Length: 0 - 32768

Returns:
Optional data attached to the event that can be used by the decider in subsequent workflow tasks.

setControl

public void setControl(String control)
Optional data attached to the event that can be used by the decider in subsequent workflow tasks.

Constraints:
Length: 0 - 32768

Parameters:
control - Optional data attached to the event that can be used by the decider in subsequent workflow tasks.

withControl

public TimerStartedEventAttributes withControl(String control)
Optional data attached to the event that can be used by the decider in subsequent workflow tasks.

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

Constraints:
Length: 0 - 32768

Parameters:
control - Optional data attached to the event that can be used by the decider in subsequent workflow tasks.
Returns:
A reference to this updated object so that method calls can be chained together.

getStartToFireTimeout

public String getStartToFireTimeout()
The duration of time after which the timer will fire.

The duration is specified in seconds. The valid values are integers greater than or equal to 0.

Constraints:
Length: 1 - 8

Returns:
The duration of time after which the timer will fire.

The duration is specified in seconds. The valid values are integers greater than or equal to 0.


setStartToFireTimeout

public void setStartToFireTimeout(String startToFireTimeout)
The duration of time after which the timer will fire.

The duration is specified in seconds. The valid values are integers greater than or equal to 0.

Constraints:
Length: 1 - 8

Parameters:
startToFireTimeout - The duration of time after which the timer will fire.

The duration is specified in seconds. The valid values are integers greater than or equal to 0.


withStartToFireTimeout

public TimerStartedEventAttributes withStartToFireTimeout(String startToFireTimeout)
The duration of time after which the timer will fire.

The duration is specified in seconds. The valid values are integers greater than or equal to 0.

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

Constraints:
Length: 1 - 8

Parameters:
startToFireTimeout - The duration of time after which the timer will fire.

The duration is specified in seconds. The valid values are integers greater than or equal to 0.

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 StartTimer decision for this activity task. 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 StartTimer decision for this activity task. 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 StartTimer decision for this activity task. 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 StartTimer decision for this activity task. This information can be useful for diagnosing problems by tracing back the cause of events.

withDecisionTaskCompletedEventId

public TimerStartedEventAttributes withDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
The id of the DecisionTaskCompleted event corresponding to the decision task that resulted in the StartTimer decision for this activity task. 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 StartTimer decision for this activity task. 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.