public class WorkflowExecutionConfiguration extends Object implements Serializable, Cloneable
The configuration settings for a workflow execution including timeout values, tasklist etc. These configuration settings are determined from the defaults specified when registering the workflow type and those specified when starting the workflow execution.
Constructor and Description |
---|
WorkflowExecutionConfiguration() |
Modifier and Type | Method and Description |
---|---|
WorkflowExecutionConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getChildPolicy()
The policy to use for the child workflow executions if this workflow
execution is terminated, by calling the
TerminateWorkflowExecution action explicitly or due to an
expired timeout.
|
String |
getExecutionStartToCloseTimeout()
The total duration for this workflow execution.
|
String |
getLambdaRole()
The IAM role used by this workflow execution when invoking AWS Lambda
functions.
|
TaskList |
getTaskList()
The task list used for the decision tasks generated for this workflow
execution.
|
String |
getTaskPriority()
The priority assigned to decision tasks for this workflow execution.
|
String |
getTaskStartToCloseTimeout()
The maximum duration allowed for decision tasks for this workflow
execution.
|
int |
hashCode() |
void |
setChildPolicy(ChildPolicy childPolicy)
The policy to use for the child workflow executions if this workflow
execution is terminated, by calling the
TerminateWorkflowExecution action explicitly or due to an
expired timeout.
|
void |
setChildPolicy(String childPolicy)
The policy to use for the child workflow executions if this workflow
execution is terminated, by calling the
TerminateWorkflowExecution action explicitly or due to an
expired timeout.
|
void |
setExecutionStartToCloseTimeout(String executionStartToCloseTimeout)
The total duration for this workflow execution.
|
void |
setLambdaRole(String lambdaRole)
The IAM role used by this workflow execution when invoking AWS Lambda
functions.
|
void |
setTaskList(TaskList taskList)
The task list used for the decision tasks generated for this workflow
execution.
|
void |
setTaskPriority(String taskPriority)
The priority assigned to decision tasks for this workflow execution.
|
void |
setTaskStartToCloseTimeout(String taskStartToCloseTimeout)
The maximum duration allowed for decision tasks for this workflow
execution.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
WorkflowExecutionConfiguration |
withChildPolicy(ChildPolicy childPolicy)
The policy to use for the child workflow executions if this workflow
execution is terminated, by calling the
TerminateWorkflowExecution action explicitly or due to an
expired timeout.
|
WorkflowExecutionConfiguration |
withChildPolicy(String childPolicy)
The policy to use for the child workflow executions if this workflow
execution is terminated, by calling the
TerminateWorkflowExecution action explicitly or due to an
expired timeout.
|
WorkflowExecutionConfiguration |
withExecutionStartToCloseTimeout(String executionStartToCloseTimeout)
The total duration for this workflow execution.
|
WorkflowExecutionConfiguration |
withLambdaRole(String lambdaRole)
The IAM role used by this workflow execution when invoking AWS Lambda
functions.
|
WorkflowExecutionConfiguration |
withTaskList(TaskList taskList)
The task list used for the decision tasks generated for this workflow
execution.
|
WorkflowExecutionConfiguration |
withTaskPriority(String taskPriority)
The priority assigned to decision tasks for this workflow execution.
|
WorkflowExecutionConfiguration |
withTaskStartToCloseTimeout(String taskStartToCloseTimeout)
The maximum duration allowed for decision tasks for this workflow
execution.
|
public String getTaskStartToCloseTimeout()
The duration is specified in seconds; an integer greater than or equal to 0. The value "NONE" can be used to specify unlimited duration.
Constraints:
Length: 1 - 8
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 void setTaskStartToCloseTimeout(String taskStartToCloseTimeout)
The duration is specified in seconds; an integer greater than or equal to 0. The value "NONE" can be used to specify unlimited duration.
Constraints:
Length: 1 - 8
taskStartToCloseTimeout
- The maximum duration allowed for decision tasks for this workflow
execution. 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 WorkflowExecutionConfiguration withTaskStartToCloseTimeout(String taskStartToCloseTimeout)
The duration is specified in seconds; an integer greater than or equal to 0. The value "NONE" can be used to specify unlimited duration.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 8
taskStartToCloseTimeout
- The maximum duration allowed for decision tasks for this workflow
execution. 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 String getExecutionStartToCloseTimeout()
The duration is specified in seconds; an integer greater than or equal to 0. The value "NONE" can be used to specify unlimited duration.
Constraints:
Length: 1 - 8
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 void setExecutionStartToCloseTimeout(String executionStartToCloseTimeout)
The duration is specified in seconds; an integer greater than or equal to 0. The value "NONE" can be used to specify unlimited duration.
Constraints:
Length: 1 - 8
executionStartToCloseTimeout
- The total duration for this workflow execution. 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 WorkflowExecutionConfiguration withExecutionStartToCloseTimeout(String executionStartToCloseTimeout)
The duration is specified in seconds; an integer greater than or equal to 0. The value "NONE" can be used to specify unlimited duration.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 8
executionStartToCloseTimeout
- The total duration for this workflow execution. 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 TaskList getTaskList()
public void setTaskList(TaskList taskList)
taskList
- The task list used for the decision tasks generated for this workflow
execution.public WorkflowExecutionConfiguration withTaskList(TaskList taskList)
Returns a reference to this object so that method calls can be chained together.
taskList
- The task list used for the decision tasks generated for this workflow
execution.public String getTaskPriority()
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.
Constraints:
Length: 0 - 11
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 setTaskPriority(String taskPriority)
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.
Constraints:
Length: 0 - 11
taskPriority
- The priority assigned to decision tasks for this workflow execution.
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 WorkflowExecutionConfiguration withTaskPriority(String taskPriority)
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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 11
taskPriority
- The priority assigned to decision tasks for this workflow execution.
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 String getChildPolicy()
The supported child policies are:
WorkflowExecutionCancelRequested
event in its history. It
is up to the decider to take appropriate actions when it receives an
execution history with this event.
Constraints:
Allowed Values: TERMINATE, REQUEST_CANCEL, ABANDON
The supported child policies are:
WorkflowExecutionCancelRequested
event in its history. It
is up to the decider to take appropriate actions when it receives an
execution history with this event.ChildPolicy
public void setChildPolicy(String childPolicy)
The supported child policies are:
WorkflowExecutionCancelRequested
event in its history. It
is up to the decider to take appropriate actions when it receives an
execution history with this event.
Constraints:
Allowed Values: TERMINATE, REQUEST_CANCEL, ABANDON
childPolicy
- The policy to use for the child workflow executions if this workflow
execution is terminated, by calling the
TerminateWorkflowExecution action explicitly or due to an
expired timeout. The supported child policies are:
WorkflowExecutionCancelRequested
event in its history. It
is up to the decider to take appropriate actions when it receives an
execution history with this event.ChildPolicy
public WorkflowExecutionConfiguration withChildPolicy(String childPolicy)
The supported child policies are:
WorkflowExecutionCancelRequested
event in its history. It
is up to the decider to take appropriate actions when it receives an
execution history with this event.Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: TERMINATE, REQUEST_CANCEL, ABANDON
childPolicy
- The policy to use for the child workflow executions if this workflow
execution is terminated, by calling the
TerminateWorkflowExecution action explicitly or due to an
expired timeout. The supported child policies are:
WorkflowExecutionCancelRequested
event in its history. It
is up to the decider to take appropriate actions when it receives an
execution history with this event.ChildPolicy
public void setChildPolicy(ChildPolicy childPolicy)
The supported child policies are:
WorkflowExecutionCancelRequested
event in its history. It
is up to the decider to take appropriate actions when it receives an
execution history with this event.
Constraints:
Allowed Values: TERMINATE, REQUEST_CANCEL, ABANDON
childPolicy
- The policy to use for the child workflow executions if this workflow
execution is terminated, by calling the
TerminateWorkflowExecution action explicitly or due to an
expired timeout. The supported child policies are:
WorkflowExecutionCancelRequested
event in its history. It
is up to the decider to take appropriate actions when it receives an
execution history with this event.ChildPolicy
public WorkflowExecutionConfiguration withChildPolicy(ChildPolicy childPolicy)
The supported child policies are:
WorkflowExecutionCancelRequested
event in its history. It
is up to the decider to take appropriate actions when it receives an
execution history with this event.Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: TERMINATE, REQUEST_CANCEL, ABANDON
childPolicy
- The policy to use for the child workflow executions if this workflow
execution is terminated, by calling the
TerminateWorkflowExecution action explicitly or due to an
expired timeout. The supported child policies are:
WorkflowExecutionCancelRequested
event in its history. It
is up to the decider to take appropriate actions when it receives an
execution history with this event.ChildPolicy
public String getLambdaRole()
Constraints:
Length: 1 - 1224
public void setLambdaRole(String lambdaRole)
Constraints:
Length: 1 - 1224
lambdaRole
- The IAM role used by this workflow execution when invoking AWS Lambda
functions.public WorkflowExecutionConfiguration withLambdaRole(String lambdaRole)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1224
lambdaRole
- The IAM role used by this workflow execution when invoking AWS Lambda
functions.public String toString()
toString
in class Object
Object.toString()
public WorkflowExecutionConfiguration clone()
Copyright © 2015. All rights reserved.