CopyableBuilder<ContinueAsNewWorkflowExecutionDecisionAttributes.Builder,ContinueAsNewWorkflowExecutionDecisionAttributes>
, SdkBuilder<ContinueAsNewWorkflowExecutionDecisionAttributes.Builder,ContinueAsNewWorkflowExecutionDecisionAttributes>
public static interface ContinueAsNewWorkflowExecutionDecisionAttributes.Builder extends CopyableBuilder<ContinueAsNewWorkflowExecutionDecisionAttributes.Builder,ContinueAsNewWorkflowExecutionDecisionAttributes>
Modifier and Type | Method | Description |
---|---|---|
ContinueAsNewWorkflowExecutionDecisionAttributes.Builder |
childPolicy(String childPolicy) |
If set, specifies the policy to use for the child workflow executions of the new execution if it is
terminated by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout.
|
ContinueAsNewWorkflowExecutionDecisionAttributes.Builder |
childPolicy(ChildPolicy childPolicy) |
If set, specifies the policy to use for the child workflow executions of the new execution if it is
terminated by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout.
|
ContinueAsNewWorkflowExecutionDecisionAttributes.Builder |
executionStartToCloseTimeout(String executionStartToCloseTimeout) |
If set, specifies the total duration for this workflow execution.
|
ContinueAsNewWorkflowExecutionDecisionAttributes.Builder |
input(String input) |
The input provided to the new workflow execution.
|
ContinueAsNewWorkflowExecutionDecisionAttributes.Builder |
lambdaRole(String lambdaRole) |
The ARN of an IAM role that authorizes Amazon SWF to invoke AWS Lambda functions.
|
ContinueAsNewWorkflowExecutionDecisionAttributes.Builder |
tagList(String... tagList) |
The list of tags to associate with the new workflow execution.
|
ContinueAsNewWorkflowExecutionDecisionAttributes.Builder |
tagList(Collection<String> tagList) |
The list of tags to associate with the new workflow execution.
|
ContinueAsNewWorkflowExecutionDecisionAttributes.Builder |
taskList(TaskList taskList) |
|
ContinueAsNewWorkflowExecutionDecisionAttributes.Builder |
taskPriority(String taskPriority) |
Optional. The task priority that, if set, specifies the priority for the decision tasks for this
workflow execution.
|
ContinueAsNewWorkflowExecutionDecisionAttributes.Builder |
taskStartToCloseTimeout(String taskStartToCloseTimeout) |
Specifies the maximum duration of decision tasks for the new workflow execution.
|
ContinueAsNewWorkflowExecutionDecisionAttributes.Builder |
workflowTypeVersion(String workflowTypeVersion) |
copy
apply, build
ContinueAsNewWorkflowExecutionDecisionAttributes.Builder input(String input)
The input provided to the new workflow execution.
input
- The input provided to the new workflow execution.ContinueAsNewWorkflowExecutionDecisionAttributes.Builder executionStartToCloseTimeout(String executionStartToCloseTimeout)
If set, specifies 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
- If set, specifies 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.
ContinueAsNewWorkflowExecutionDecisionAttributes.Builder taskList(TaskList taskList)
taskList
- ContinueAsNewWorkflowExecutionDecisionAttributes.Builder taskPriority(String taskPriority)
Optional. The task priority that, if set, specifies the priority for the decision tasks for 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. The task priority that, if set, specifies the priority for the decision tasks for 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
ContinueAsNewWorkflowExecutionDecisionAttributes.Builder taskStartToCloseTimeout(String taskStartToCloseTimeout)
Specifies the maximum duration of decision tasks for the new 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 the new 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.
ContinueAsNewWorkflowExecutionDecisionAttributes.Builder childPolicy(String childPolicy)
If set, specifies the policy to use for the child workflow executions of the new execution if it 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
- If set, specifies the policy to use for the child workflow executions of the new execution if it 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
ContinueAsNewWorkflowExecutionDecisionAttributes.Builder childPolicy(ChildPolicy childPolicy)
If set, specifies the policy to use for the child workflow executions of the new execution if it 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
- If set, specifies the policy to use for the child workflow executions of the new execution if it 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
ContinueAsNewWorkflowExecutionDecisionAttributes.Builder tagList(Collection<String> tagList)
The list of tags to associate with the new 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 new 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.ContinueAsNewWorkflowExecutionDecisionAttributes.Builder tagList(String... tagList)
The list of tags to associate with the new 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 new 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.ContinueAsNewWorkflowExecutionDecisionAttributes.Builder workflowTypeVersion(String workflowTypeVersion)
workflowTypeVersion
- ContinueAsNewWorkflowExecutionDecisionAttributes.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.