public class WorkflowTypeConfiguration extends Object implements Serializable, Cloneable
The configuration settings of a workflow type.
| Constructor and Description |
|---|
WorkflowTypeConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
WorkflowTypeConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getDefaultChildPolicy()
Optional. The default policy to use for the child workflow
executions when a workflow execution of this type is terminated, by
calling the TerminateWorkflowExecution action explicitly or due
to an expired timeout.
|
String |
getDefaultExecutionStartToCloseTimeout()
Optional. The default maximum duration, specified when
registering the workflow type, for executions of this workflow type.
|
String |
getDefaultLambdaRole()
The default IAM role to use when a workflow execution invokes a AWS
Lambda function.
|
TaskList |
getDefaultTaskList()
Optional. The default task list, specified when registering the
workflow type, for decisions tasks scheduled for workflow executions
of this type.
|
String |
getDefaultTaskPriority()
Optional. The default task priority, specified when registering
the workflow type, for all decision tasks of this workflow type.
|
String |
getDefaultTaskStartToCloseTimeout()
Optional. The default maximum duration, specified when
registering the workflow type, that a decision task for executions of
this workflow type might take before returning completion or failure.
|
int |
hashCode() |
void |
setDefaultChildPolicy(ChildPolicy defaultChildPolicy)
Optional. The default policy to use for the child workflow
executions when a workflow execution of this type is terminated, by
calling the TerminateWorkflowExecution action explicitly or due
to an expired timeout.
|
void |
setDefaultChildPolicy(String defaultChildPolicy)
Optional. The default policy to use for the child workflow
executions when a workflow execution of this type is terminated, by
calling the TerminateWorkflowExecution action explicitly or due
to an expired timeout.
|
void |
setDefaultExecutionStartToCloseTimeout(String defaultExecutionStartToCloseTimeout)
Optional. The default maximum duration, specified when
registering the workflow type, for executions of this workflow type.
|
void |
setDefaultLambdaRole(String defaultLambdaRole)
The default IAM role to use when a workflow execution invokes a AWS
Lambda function.
|
void |
setDefaultTaskList(TaskList defaultTaskList)
Optional. The default task list, specified when registering the
workflow type, for decisions tasks scheduled for workflow executions
of this type.
|
void |
setDefaultTaskPriority(String defaultTaskPriority)
Optional. The default task priority, specified when registering
the workflow type, for all decision tasks of this workflow type.
|
void |
setDefaultTaskStartToCloseTimeout(String defaultTaskStartToCloseTimeout)
Optional. The default maximum duration, specified when
registering the workflow type, that a decision task for executions of
this workflow type might take before returning completion or failure.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
WorkflowTypeConfiguration |
withDefaultChildPolicy(ChildPolicy defaultChildPolicy)
Optional. The default policy to use for the child workflow
executions when a workflow execution of this type is terminated, by
calling the TerminateWorkflowExecution action explicitly or due
to an expired timeout.
|
WorkflowTypeConfiguration |
withDefaultChildPolicy(String defaultChildPolicy)
Optional. The default policy to use for the child workflow
executions when a workflow execution of this type is terminated, by
calling the TerminateWorkflowExecution action explicitly or due
to an expired timeout.
|
WorkflowTypeConfiguration |
withDefaultExecutionStartToCloseTimeout(String defaultExecutionStartToCloseTimeout)
Optional. The default maximum duration, specified when
registering the workflow type, for executions of this workflow type.
|
WorkflowTypeConfiguration |
withDefaultLambdaRole(String defaultLambdaRole)
The default IAM role to use when a workflow execution invokes a AWS
Lambda function.
|
WorkflowTypeConfiguration |
withDefaultTaskList(TaskList defaultTaskList)
Optional. The default task list, specified when registering the
workflow type, for decisions tasks scheduled for workflow executions
of this type.
|
WorkflowTypeConfiguration |
withDefaultTaskPriority(String defaultTaskPriority)
Optional. The default task priority, specified when registering
the workflow type, for all decision tasks of this workflow type.
|
WorkflowTypeConfiguration |
withDefaultTaskStartToCloseTimeout(String defaultTaskStartToCloseTimeout)
Optional. The default maximum duration, specified when
registering the workflow type, that a decision task for executions of
this workflow type might take before returning completion or failure.
|
public String getDefaultTaskStartToCloseTimeout()
StartChildWorkflowExecution decision. 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: 0 - 8
StartChildWorkflowExecution decision. 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 setDefaultTaskStartToCloseTimeout(String defaultTaskStartToCloseTimeout)
StartChildWorkflowExecution decision. 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: 0 - 8
defaultTaskStartToCloseTimeout - Optional. The default maximum duration, specified when
registering the workflow type, that a decision task for executions of
this workflow type might take before returning completion or failure.
If the task does not close in the specified time then the task is
automatically timed out and rescheduled. If the decider eventually
reports a completion or failure, it is ignored. This default can be
overridden when starting a workflow execution using the
StartWorkflowExecution action or the
StartChildWorkflowExecution decision. 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 WorkflowTypeConfiguration withDefaultTaskStartToCloseTimeout(String defaultTaskStartToCloseTimeout)
StartChildWorkflowExecution decision. 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: 0 - 8
defaultTaskStartToCloseTimeout - Optional. The default maximum duration, specified when
registering the workflow type, that a decision task for executions of
this workflow type might take before returning completion or failure.
If the task does not close in the specified time then the task is
automatically timed out and rescheduled. If the decider eventually
reports a completion or failure, it is ignored. This default can be
overridden when starting a workflow execution using the
StartWorkflowExecution action or the
StartChildWorkflowExecution decision. 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 getDefaultExecutionStartToCloseTimeout()
StartChildWorkflowExecution decision. 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: 0 - 8
StartChildWorkflowExecution decision. 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 setDefaultExecutionStartToCloseTimeout(String defaultExecutionStartToCloseTimeout)
StartChildWorkflowExecution decision. 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: 0 - 8
defaultExecutionStartToCloseTimeout - Optional. The default maximum duration, specified when
registering the workflow type, for executions of this workflow type.
This default can be overridden when starting a workflow execution
using the StartWorkflowExecution action or the
StartChildWorkflowExecution decision. 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 WorkflowTypeConfiguration withDefaultExecutionStartToCloseTimeout(String defaultExecutionStartToCloseTimeout)
StartChildWorkflowExecution decision. 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: 0 - 8
defaultExecutionStartToCloseTimeout - Optional. The default maximum duration, specified when
registering the workflow type, for executions of this workflow type.
This default can be overridden when starting a workflow execution
using the StartWorkflowExecution action or the
StartChildWorkflowExecution decision. 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 getDefaultTaskList()
StartChildWorkflowExecution decision.StartChildWorkflowExecution decision.public void setDefaultTaskList(TaskList defaultTaskList)
StartChildWorkflowExecution decision.defaultTaskList - Optional. The default task list, specified when registering the
workflow type, for decisions tasks scheduled for workflow executions
of this type. This default can be overridden when starting a workflow
execution using the StartWorkflowExecution action or the
StartChildWorkflowExecution decision.public WorkflowTypeConfiguration withDefaultTaskList(TaskList defaultTaskList)
StartChildWorkflowExecution decision.
Returns a reference to this object so that method calls can be chained together.
defaultTaskList - Optional. The default task list, specified when registering the
workflow type, for decisions tasks scheduled for workflow executions
of this type. This default can be overridden when starting a workflow
execution using the StartWorkflowExecution action or the
StartChildWorkflowExecution decision.public String getDefaultTaskPriority()
StartChildWorkflowExecution decision. 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.
Constraints:
Length: 0 - 11
StartChildWorkflowExecution decision. 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 setDefaultTaskPriority(String defaultTaskPriority)
StartChildWorkflowExecution decision. 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.
Constraints:
Length: 0 - 11
defaultTaskPriority - Optional. The default task priority, specified when registering
the workflow type, for all decision tasks of this workflow type. This
default can be overridden when starting a workflow execution using the
StartWorkflowExecution action or the
StartChildWorkflowExecution decision. 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 WorkflowTypeConfiguration withDefaultTaskPriority(String defaultTaskPriority)
StartChildWorkflowExecution decision. 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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 11
defaultTaskPriority - Optional. The default task priority, specified when registering
the workflow type, for all decision tasks of this workflow type. This
default can be overridden when starting a workflow execution using the
StartWorkflowExecution action or the
StartChildWorkflowExecution decision. 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 getDefaultChildPolicy()
StartChildWorkflowExecution decision. 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
StartChildWorkflowExecution decision. 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.ChildPolicypublic void setDefaultChildPolicy(String defaultChildPolicy)
StartChildWorkflowExecution decision. 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
defaultChildPolicy - Optional. The default policy to use for the child workflow
executions when a workflow execution of this type is terminated, by
calling the TerminateWorkflowExecution action explicitly or due
to an expired timeout. This default can be overridden when starting a
workflow execution using the StartWorkflowExecution action or
the StartChildWorkflowExecution decision. 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.ChildPolicypublic WorkflowTypeConfiguration withDefaultChildPolicy(String defaultChildPolicy)
StartChildWorkflowExecution decision. 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
defaultChildPolicy - Optional. The default policy to use for the child workflow
executions when a workflow execution of this type is terminated, by
calling the TerminateWorkflowExecution action explicitly or due
to an expired timeout. This default can be overridden when starting a
workflow execution using the StartWorkflowExecution action or
the StartChildWorkflowExecution decision. 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.ChildPolicypublic void setDefaultChildPolicy(ChildPolicy defaultChildPolicy)
StartChildWorkflowExecution decision. 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
defaultChildPolicy - Optional. The default policy to use for the child workflow
executions when a workflow execution of this type is terminated, by
calling the TerminateWorkflowExecution action explicitly or due
to an expired timeout. This default can be overridden when starting a
workflow execution using the StartWorkflowExecution action or
the StartChildWorkflowExecution decision. 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.ChildPolicypublic WorkflowTypeConfiguration withDefaultChildPolicy(ChildPolicy defaultChildPolicy)
StartChildWorkflowExecution decision. 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
defaultChildPolicy - Optional. The default policy to use for the child workflow
executions when a workflow execution of this type is terminated, by
calling the TerminateWorkflowExecution action explicitly or due
to an expired timeout. This default can be overridden when starting a
workflow execution using the StartWorkflowExecution action or
the StartChildWorkflowExecution decision. 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.ChildPolicypublic String getDefaultLambdaRole()
Constraints:
Length: 1 - 1224
public void setDefaultLambdaRole(String defaultLambdaRole)
Constraints:
Length: 1 - 1224
defaultLambdaRole - The default IAM role to use when a workflow execution invokes a AWS
Lambda function.public WorkflowTypeConfiguration withDefaultLambdaRole(String defaultLambdaRole)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1224
defaultLambdaRole - The default IAM role to use when a workflow execution invokes a AWS
Lambda function.public String toString()
toString in class ObjectObject.toString()public WorkflowTypeConfiguration clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.