public class DecisionTaskScheduledEventAttributes
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Provides details about the DecisionTaskScheduled
event.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
startToCloseTimeout
The maximum duration for this decision task.
|
private TaskList |
taskList
The name of the task list in which the decision task was scheduled.
|
private java.lang.String |
taskPriority
Optional. A task priority that, if set, specifies the priority for
this decision task.
|
Constructor and Description |
---|
DecisionTaskScheduledEventAttributes() |
Modifier and Type | Method and Description |
---|---|
DecisionTaskScheduledEventAttributes |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getStartToCloseTimeout()
The maximum duration for this decision task.
|
TaskList |
getTaskList()
The name of the task list in which the decision task was scheduled.
|
java.lang.String |
getTaskPriority()
Optional. A task priority that, if set, specifies the priority for
this decision task.
|
int |
hashCode() |
void |
setStartToCloseTimeout(java.lang.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.
|
void |
setTaskPriority(java.lang.String taskPriority)
Optional. A task priority that, if set, specifies the priority for
this decision task.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DecisionTaskScheduledEventAttributes |
withStartToCloseTimeout(java.lang.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.
|
DecisionTaskScheduledEventAttributes |
withTaskPriority(java.lang.String taskPriority)
Optional. A task priority that, if set, specifies the priority for
this decision task.
|
private TaskList taskList
The name of the task list in which the decision task was scheduled.
private java.lang.String taskPriority
Optional. A task priority that, if set, specifies the priority for
this decision task. Valid values are integers that range from Java's
Integer.MIN_VALUE
(-2147483648) to
Integer.MAX_VALUE
(2147483647). Higher numbers indicate
higher priority.
For more information about setting task priority, see Setting Task Priority in the Amazon Simple Workflow Developer Guide.
private java.lang.String startToCloseTimeout
The maximum duration for this decision task. The task is considered timed out if it does not completed within this duration.
The duration is specified in seconds; an integer greater than or equal to 0. The value "NONE" can be used to specify unlimited duration.
public DecisionTaskScheduledEventAttributes()
public void setTaskList(TaskList taskList)
The name of the task list in which the decision task was scheduled.
taskList
- The name of the task list in which the decision task was
scheduled.public TaskList getTaskList()
The name of the task list in which the decision task was scheduled.
public DecisionTaskScheduledEventAttributes withTaskList(TaskList taskList)
The name of the task list in which the decision task was scheduled.
taskList
- The name of the task list in which the decision task was
scheduled.public void setTaskPriority(java.lang.String taskPriority)
Optional. A task priority that, if set, specifies the priority for
this decision task. Valid values are integers that range from Java's
Integer.MIN_VALUE
(-2147483648) to
Integer.MAX_VALUE
(2147483647). Higher numbers indicate
higher priority.
For more information about setting task priority, see Setting Task Priority in the Amazon Simple Workflow Developer Guide.
taskPriority
- Optional. A task priority that, if set, specifies the priority
for this decision task. Valid values are integers that range from
Java's Integer.MIN_VALUE
(-2147483648) to
Integer.MAX_VALUE
(2147483647). Higher numbers
indicate higher priority.
For more information about setting task priority, see Setting Task Priority in the Amazon Simple Workflow Developer Guide
public java.lang.String getTaskPriority()
Optional. A task priority that, if set, specifies the priority for
this decision task. Valid values are integers that range from Java's
Integer.MIN_VALUE
(-2147483648) to
Integer.MAX_VALUE
(2147483647). Higher numbers indicate
higher priority.
For more information about setting task priority, see Setting Task Priority in the Amazon Simple Workflow Developer Guide.
Integer.MIN_VALUE
(-2147483648) to
Integer.MAX_VALUE
(2147483647). Higher numbers
indicate higher priority.
For more information about setting task priority, see Setting Task Priority in the Amazon Simple Workflow Developer Guide
public DecisionTaskScheduledEventAttributes withTaskPriority(java.lang.String taskPriority)
Optional. A task priority that, if set, specifies the priority for
this decision task. Valid values are integers that range from Java's
Integer.MIN_VALUE
(-2147483648) to
Integer.MAX_VALUE
(2147483647). Higher numbers indicate
higher priority.
For more information about setting task priority, see Setting Task Priority in the Amazon Simple Workflow Developer Guide.
taskPriority
- Optional. A task priority that, if set, specifies the priority
for this decision task. Valid values are integers that range from
Java's Integer.MIN_VALUE
(-2147483648) to
Integer.MAX_VALUE
(2147483647). Higher numbers
indicate higher priority.
For more information about setting task priority, see Setting Task Priority in the Amazon Simple Workflow Developer Guide
public void setStartToCloseTimeout(java.lang.String startToCloseTimeout)
The maximum duration for this decision task. The task is considered timed out if it does not completed within this duration.
The duration is specified in seconds; an integer greater than or equal to 0. The value "NONE" can be used to specify unlimited duration.
startToCloseTimeout
- The maximum duration for this decision task. The task is
considered timed out if it does not completed within this
duration.
The duration is specified in seconds; an integer greater than or equal to 0. The value "NONE" can be used to specify unlimited duration.
public java.lang.String getStartToCloseTimeout()
The maximum duration for this decision task. The task is considered timed out if it does not completed within this duration.
The duration is specified in seconds; an integer greater than or equal to 0. The value "NONE" can be used to specify unlimited duration.
The duration is specified in seconds; an integer greater than or equal to 0. The value "NONE" can be used to specify unlimited duration.
public DecisionTaskScheduledEventAttributes withStartToCloseTimeout(java.lang.String startToCloseTimeout)
The maximum duration for this decision task. The task is considered timed out if it does not completed within this duration.
The duration is specified in seconds; an integer greater than or equal to 0. The value "NONE" can be used to specify unlimited duration.
startToCloseTimeout
- The maximum duration for this decision task. The task is
considered timed out if it does not completed within this
duration.
The duration is specified in seconds; an integer greater than or equal to 0. The value "NONE" can be used to specify unlimited duration.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DecisionTaskScheduledEventAttributes clone()
clone
in class java.lang.Object