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 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. 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.
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.public 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. 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.
StartChildWorkflowExecution
decision.public 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. 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.
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.public void setDefaultExecutionStartToCloseTimeout(String 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.
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.public String getDefaultExecutionStartToCloseTimeout()
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.
StartChildWorkflowExecution
decision.public WorkflowTypeConfiguration withDefaultExecutionStartToCloseTimeout(String 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.
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.public 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. This default can be overridden when starting a workflow
execution using the StartWorkflowExecution action or the
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
public TaskList getDefaultTaskList()
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.
StartChildWorkflowExecution
public 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. This default can be overridden when starting a workflow
execution using the StartWorkflowExecution action or the
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
public void setDefaultTaskPriority(String 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.
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 getDefaultTaskPriority()
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.
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)
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.
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 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. 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.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.ChildPolicy
public 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. 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.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.ChildPolicy
public 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. 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.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.ChildPolicy
public 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. 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.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.ChildPolicy
public 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. 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.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.ChildPolicy
public void setDefaultLambdaRole(String defaultLambdaRole)
The default IAM role to use when a workflow execution invokes a AWS Lambda function.
defaultLambdaRole
- The default IAM role to use when a workflow execution invokes a
AWS Lambda function.public String getDefaultLambdaRole()
The default IAM role to use when a workflow execution invokes a AWS Lambda function.
public WorkflowTypeConfiguration withDefaultLambdaRole(String defaultLambdaRole)
The default IAM role to use when a workflow execution invokes a AWS Lambda function.
defaultLambdaRole
- The default IAM role to use when a workflow execution invokes a
AWS Lambda function.public String toString()
toString
in class Object
Object.toString()
public WorkflowTypeConfiguration clone()
Copyright © 2018. All rights reserved.