Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.simpleworkflow.model
Class DecisionTaskScheduledEventAttributes

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

public class DecisionTaskScheduledEventAttributes
extends Object
implements Serializable

Provides details of the DecisionTaskScheduled event.

See Also:
Serialized Form

Constructor Summary
DecisionTaskScheduledEventAttributes()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getStartToCloseTimeout()
          The maximum duration for this decision task.
 TaskList getTaskList()
          The name of the task list in which the decision task was scheduled.
 int hashCode()
           
 void setStartToCloseTimeout(String startToCloseTimeout)
          The maximum duration for this decision task.
 void setTaskList(TaskList taskList)
          The name of the task list in which the decision task was scheduled.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DecisionTaskScheduledEventAttributes withStartToCloseTimeout(String startToCloseTimeout)
          The maximum duration for this decision task.
 DecisionTaskScheduledEventAttributes withTaskList(TaskList taskList)
          The name of the task list in which the decision task was scheduled.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DecisionTaskScheduledEventAttributes

public DecisionTaskScheduledEventAttributes()
Method Detail

getTaskList

public TaskList getTaskList()
The name of the task list in which the decision task was scheduled.

Returns:
The name of the task list in which the decision task was scheduled.

setTaskList

public void setTaskList(TaskList taskList)
The name of the task list in which the decision task was scheduled.

Parameters:
taskList - The name of the task list in which the decision task was scheduled.

withTaskList

public DecisionTaskScheduledEventAttributes withTaskList(TaskList taskList)
The name of the task list in which the decision task was scheduled.

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

Parameters:
taskList - The name of the task list in which the decision task was scheduled.
Returns:
A reference to this updated object so that method calls can be chained together.

getStartToCloseTimeout

public String getStartToCloseTimeout()
The maximum duration for this decision task. The task is considered timed out if it does not completed within this duration.

The valid values are integers greater than or equal to 0. An integer value can be used to specify the duration in seconds while NONE can be used to specify unlimited duration.

Constraints:
Length: 0 - 8

Returns:
The maximum duration for this decision task. The task is considered timed out if it does not completed within this duration.

The valid values are integers greater than or equal to 0. An integer value can be used to specify the duration in seconds while NONE can be used to specify unlimited duration.


setStartToCloseTimeout

public void setStartToCloseTimeout(String startToCloseTimeout)
The maximum duration for this decision task. The task is considered timed out if it does not completed within this duration.

The valid values are integers greater than or equal to 0. An integer value can be used to specify the duration in seconds while NONE can be used to specify unlimited duration.

Constraints:
Length: 0 - 8

Parameters:
startToCloseTimeout - The maximum duration for this decision task. The task is considered timed out if it does not completed within this duration.

The valid values are integers greater than or equal to 0. An integer value can be used to specify the duration in seconds while NONE can be used to specify unlimited duration.


withStartToCloseTimeout

public DecisionTaskScheduledEventAttributes withStartToCloseTimeout(String startToCloseTimeout)
The maximum duration for this decision task. The task is considered timed out if it does not completed within this duration.

The valid values are integers greater than or equal to 0. An integer value can be used to specify the duration in seconds while NONE can be used to specify unlimited duration.

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

Constraints:
Length: 0 - 8

Parameters:
startToCloseTimeout - The maximum duration for this decision task. The task is considered timed out if it does not completed within this duration.

The valid values are integers greater than or equal to 0. An integer value can be used to specify the duration in seconds while NONE can be used to specify unlimited duration.

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.