CopyableBuilder<StartChildWorkflowExecutionDecisionAttributes.Builder,StartChildWorkflowExecutionDecisionAttributes>
, SdkBuilder<StartChildWorkflowExecutionDecisionAttributes.Builder,StartChildWorkflowExecutionDecisionAttributes>
public static interface StartChildWorkflowExecutionDecisionAttributes.Builder extends CopyableBuilder<StartChildWorkflowExecutionDecisionAttributes.Builder,StartChildWorkflowExecutionDecisionAttributes>
Modifier and Type | Method | Description |
---|---|---|
StartChildWorkflowExecutionDecisionAttributes.Builder |
childPolicy(String childPolicy) |
Optional. If set, specifies the policy to use for the child workflow executions if the workflow
execution being started is terminated by calling the TerminateWorkflowExecution action explicitly or
due to an expired timeout.
|
StartChildWorkflowExecutionDecisionAttributes.Builder |
childPolicy(ChildPolicy childPolicy) |
Optional. If set, specifies the policy to use for the child workflow executions if the workflow
execution being started is terminated by calling the TerminateWorkflowExecution action explicitly or
due to an expired timeout.
|
StartChildWorkflowExecutionDecisionAttributes.Builder |
control(String control) |
Optional. Data attached to the event that can be used by the decider in subsequent workflow tasks.
|
StartChildWorkflowExecutionDecisionAttributes.Builder |
executionStartToCloseTimeout(String executionStartToCloseTimeout) |
The total duration for this workflow execution.
|
StartChildWorkflowExecutionDecisionAttributes.Builder |
input(String input) |
The input to be provided to the workflow execution.
|
StartChildWorkflowExecutionDecisionAttributes.Builder |
lambdaRole(String lambdaRole) |
The ARN of an IAM role that authorizes Amazon SWF to invoke AWS Lambda functions.
|
StartChildWorkflowExecutionDecisionAttributes.Builder |
tagList(String... tagList) |
The list of tags to associate with the child workflow execution.
|
StartChildWorkflowExecutionDecisionAttributes.Builder |
tagList(Collection<String> tagList) |
The list of tags to associate with the child workflow execution.
|
StartChildWorkflowExecutionDecisionAttributes.Builder |
taskList(TaskList taskList) |
The name of the task list to be used for decision tasks of the child workflow execution.
|
StartChildWorkflowExecutionDecisionAttributes.Builder |
taskPriority(String taskPriority) |
Optional. A task priority that, if set, specifies the priority for a decision task of this workflow
execution.
|
StartChildWorkflowExecutionDecisionAttributes.Builder |
taskStartToCloseTimeout(String taskStartToCloseTimeout) |
Specifies the maximum duration of decision tasks for this workflow execution.
|
StartChildWorkflowExecutionDecisionAttributes.Builder |
workflowId(String workflowId) |
Required. The
workflowId of the workflow execution. |
StartChildWorkflowExecutionDecisionAttributes.Builder |
workflowType(WorkflowType workflowType) |
Required. The type of the workflow execution to be started.
|
copy
apply, build
StartChildWorkflowExecutionDecisionAttributes.Builder workflowType(WorkflowType workflowType)
Required. The type of the workflow execution to be started.
workflowType
- Required.StartChildWorkflowExecutionDecisionAttributes.Builder workflowId(String workflowId)
Required. The workflowId
of the workflow execution.
The specified string must not start or end with whitespace. It must not contain a :
(colon),
/
(slash), |
(vertical bar), or any control characters ( - | -
). Also, it must not contain the literal string quotarnquot.
workflowId
- Required. The workflowId
of the workflow execution.
The specified string must not start or end with whitespace. It must not contain a :
(colon), /
(slash), |
StartChildWorkflowExecutionDecisionAttributes.Builder control(String control)
Optional. Data attached to the event that can be used by the decider in subsequent workflow tasks. This data is not sent to the child workflow execution.
control
- Optional.StartChildWorkflowExecutionDecisionAttributes.Builder input(String input)
The input to be provided to the workflow execution.
input
- The input to be provided to the workflow execution.StartChildWorkflowExecutionDecisionAttributes.Builder executionStartToCloseTimeout(String executionStartToCloseTimeout)
The total duration for this workflow execution. This overrides the defaultExecutionStartToCloseTimeout specified when registering the workflow type.
The duration is specified in seconds; an integer greater than or equal to 0. The value "NONE" can be used to specify unlimited duration.
executionStartToCloseTimeout
- The total duration for this workflow execution. This overrides the defaultExecutionStartToCloseTimeout
specified when registering the workflow type.
The duration is specified in seconds; an integer greater than or equal to 0. The value "NONE" can be used to specify unlimited duration.
StartChildWorkflowExecutionDecisionAttributes.Builder taskList(TaskList taskList)
The name of the task list to be used for decision tasks of the child workflow execution.
The specified string must not start or end with whitespace. It must not contain a :
(colon),
/
(slash), |
(vertical bar), or any control characters ( - | -
). Also, it must not contain the literal string quotarnquot.
taskList
- The name of the task list to be used for decision tasks of the child workflow execution.
The specified string must not start or end with whitespace. It must not contain a :
(colon), /
(slash), |
(vertical bar), or any control characters
( - | - ). Also, it must not contain the literal string quotarnquot.
StartChildWorkflowExecutionDecisionAttributes.Builder taskPriority(String taskPriority)
Optional. A task priority that, if set, specifies the priority for a decision task of this workflow
execution. This overrides the defaultTaskPriority specified when registering the workflow type. 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 a decision task of this
workflow execution. This overrides the defaultTaskPriority specified when registering the workflow
type. 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
StartChildWorkflowExecutionDecisionAttributes.Builder taskStartToCloseTimeout(String taskStartToCloseTimeout)
Specifies the maximum duration of decision tasks for this workflow execution. This parameter overrides the
defaultTaskStartToCloseTimout
specified when registering the workflow type using
RegisterWorkflowType.
The duration is specified in seconds; an integer greater than or equal to 0. The value "NONE" can be used to specify unlimited duration.
taskStartToCloseTimeout
- Specifies the maximum duration of decision tasks for this workflow execution. This parameter overrides
the defaultTaskStartToCloseTimout
specified when registering the workflow type using
RegisterWorkflowType.
The duration is specified in seconds; an integer greater than or equal to 0. The value "NONE" can be used to specify unlimited duration.
StartChildWorkflowExecutionDecisionAttributes.Builder childPolicy(String childPolicy)
Optional. If set, specifies the policy to use for the child workflow executions if the workflow execution being started is terminated by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout. This policy overrides the default child policy specified when registering the workflow type using RegisterWorkflowType.
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
- Optional. If set, specifies the policy to use for the child workflow executions if the workflow
execution being started is terminated by calling the TerminateWorkflowExecution action
explicitly or due to an expired timeout. This policy overrides the default child policy specified when
registering the workflow type using RegisterWorkflowType.
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
StartChildWorkflowExecutionDecisionAttributes.Builder childPolicy(ChildPolicy childPolicy)
Optional. If set, specifies the policy to use for the child workflow executions if the workflow execution being started is terminated by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout. This policy overrides the default child policy specified when registering the workflow type using RegisterWorkflowType.
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
- Optional. If set, specifies the policy to use for the child workflow executions if the workflow
execution being started is terminated by calling the TerminateWorkflowExecution action
explicitly or due to an expired timeout. This policy overrides the default child policy specified when
registering the workflow type using RegisterWorkflowType.
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
StartChildWorkflowExecutionDecisionAttributes.Builder tagList(Collection<String> tagList)
The list of tags to associate with the child workflow execution. A maximum of 5 tags can be specified. You can list workflow executions with a specific tag by calling ListOpenWorkflowExecutions or ListClosedWorkflowExecutions and specifying a TagFilter.
tagList
- The list of tags to associate with the child workflow execution. A maximum of 5 tags can be specified.
You can list workflow executions with a specific tag by calling ListOpenWorkflowExecutions or
ListClosedWorkflowExecutions and specifying a TagFilter.StartChildWorkflowExecutionDecisionAttributes.Builder tagList(String... tagList)
The list of tags to associate with the child workflow execution. A maximum of 5 tags can be specified. You can list workflow executions with a specific tag by calling ListOpenWorkflowExecutions or ListClosedWorkflowExecutions and specifying a TagFilter.
NOTE: This method appends the values to the existing list (if any). Use
#setTagList(java.util.Collection)
or #withTagList(java.util.Collection)
if you want to
override the existing values.
tagList
- The list of tags to associate with the child workflow execution. A maximum of 5 tags can be specified.
You can list workflow executions with a specific tag by calling ListOpenWorkflowExecutions or
ListClosedWorkflowExecutions and specifying a TagFilter.StartChildWorkflowExecutionDecisionAttributes.Builder lambdaRole(String lambdaRole)
The ARN of an IAM role that authorizes Amazon SWF to invoke AWS Lambda functions.
lambdaRole
- The ARN of an IAM role that authorizes Amazon SWF to invoke AWS Lambda functions. Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.