public class DecisionTaskScheduledEventAttributes extends Object implements Serializable
Provides details of the DecisionTaskScheduled
event.
Constructor and Description |
---|
DecisionTaskScheduledEventAttributes() |
Modifier and Type | Method and Description |
---|---|
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.
|
public DecisionTaskScheduledEventAttributes()
public TaskList getTaskList()
public void setTaskList(TaskList taskList)
taskList
- The name of the task list in which the decision task was scheduled.public DecisionTaskScheduledEventAttributes withTaskList(TaskList taskList)
Returns a reference to this object so that method calls can be chained together.
taskList
- The name of the task list in which the decision task was scheduled.public String getStartToCloseTimeout()
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
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.
public void setStartToCloseTimeout(String startToCloseTimeout)
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
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.
public DecisionTaskScheduledEventAttributes withStartToCloseTimeout(String startToCloseTimeout)
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
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.
public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.