Class WorkflowExecutionContinuedAsNewEventAttributes
- All Implemented Interfaces:
Serializable, Cloneable
Provides details of the WorkflowExecutionContinuedAsNew event.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe 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.The ID of theDecisionTaskCompletedevent corresponding to the decision task that resulted in theContinueAsNewWorkflowExecutiondecision that started this execution.The total duration allowed for the new workflow execution.getInput()The input provided to the new workflow execution.The IAM role attached to this workflow execution to use when invoking AWS Lambda functions.TherunIdof the new workflow execution.The list of tags associated with the new workflow execution.The maximum duration of decision tasks for the new workflow execution.inthashCode()voidsetChildPolicy(ChildPolicy childPolicy) 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.voidsetChildPolicy(String childPolicy) 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.voidsetDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId) The ID of theDecisionTaskCompletedevent corresponding to the decision task that resulted in theContinueAsNewWorkflowExecutiondecision that started this execution.voidsetExecutionStartToCloseTimeout(String executionStartToCloseTimeout) The total duration allowed for the new workflow execution.voidThe input provided to the new workflow execution.voidsetLambdaRole(String lambdaRole) The IAM role attached to this workflow execution to use when invoking AWS Lambda functions.voidsetNewExecutionRunId(String newExecutionRunId) TherunIdof the new workflow execution.voidsetTagList(Collection<String> tagList) The list of tags associated with the new workflow execution.voidsetTaskList(TaskList taskList) voidsetTaskPriority(String taskPriority) voidsetTaskStartToCloseTimeout(String taskStartToCloseTimeout) The maximum duration of decision tasks for the new workflow execution.voidsetWorkflowType(WorkflowType workflowType) toString()Returns a string representation of this object; useful for testing and debugging.withChildPolicy(ChildPolicy childPolicy) 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.withChildPolicy(String childPolicy) 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.withDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId) The ID of theDecisionTaskCompletedevent corresponding to the decision task that resulted in theContinueAsNewWorkflowExecutiondecision that started this execution.withExecutionStartToCloseTimeout(String executionStartToCloseTimeout) The total duration allowed for the new workflow execution.The input provided to the new workflow execution.withLambdaRole(String lambdaRole) The IAM role attached to this workflow execution to use when invoking AWS Lambda functions.withNewExecutionRunId(String newExecutionRunId) TherunIdof the new workflow execution.withTagList(String... tagList) The list of tags associated with the new workflow execution.withTagList(Collection<String> tagList) The list of tags associated with the new workflow execution.withTaskList(TaskList taskList) withTaskPriority(String taskPriority) withTaskStartToCloseTimeout(String taskStartToCloseTimeout) The maximum duration of decision tasks for the new workflow execution.withWorkflowType(WorkflowType workflowType)
-
Constructor Details
-
WorkflowExecutionContinuedAsNewEventAttributes
public WorkflowExecutionContinuedAsNewEventAttributes()
-
-
Method Details
-
setInput
The input provided to the new workflow execution.
- Parameters:
input- The input provided to the new workflow execution.
-
getInput
The input provided to the new workflow execution.
- Returns:
- The input provided to the new workflow execution.
-
withInput
The input provided to the new workflow execution.
- Parameters:
input- The input provided to the new workflow execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDecisionTaskCompletedEventId
The ID of the
DecisionTaskCompletedevent corresponding to the decision task that resulted in theContinueAsNewWorkflowExecutiondecision that started this execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.- Parameters:
decisionTaskCompletedEventId- The ID of theDecisionTaskCompletedevent corresponding to the decision task that resulted in theContinueAsNewWorkflowExecutiondecision that started this execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
-
getDecisionTaskCompletedEventId
The ID of the
DecisionTaskCompletedevent corresponding to the decision task that resulted in theContinueAsNewWorkflowExecutiondecision that started this execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.- Returns:
- The ID of the
DecisionTaskCompletedevent corresponding to the decision task that resulted in theContinueAsNewWorkflowExecutiondecision that started this execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
-
withDecisionTaskCompletedEventId
public WorkflowExecutionContinuedAsNewEventAttributes withDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId) The ID of the
DecisionTaskCompletedevent corresponding to the decision task that resulted in theContinueAsNewWorkflowExecutiondecision that started this execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.- Parameters:
decisionTaskCompletedEventId- The ID of theDecisionTaskCompletedevent corresponding to the decision task that resulted in theContinueAsNewWorkflowExecutiondecision that started this execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNewExecutionRunId
The
runIdof the new workflow execution.- Parameters:
newExecutionRunId- TherunIdof the new workflow execution.
-
getNewExecutionRunId
The
runIdof the new workflow execution.- Returns:
- The
runIdof the new workflow execution.
-
withNewExecutionRunId
public WorkflowExecutionContinuedAsNewEventAttributes withNewExecutionRunId(String newExecutionRunId) The
runIdof the new workflow execution.- Parameters:
newExecutionRunId- TherunIdof the new workflow execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setExecutionStartToCloseTimeout
The total duration allowed for the new 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.
- Parameters:
executionStartToCloseTimeout- The total duration allowed for the new 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.
-
getExecutionStartToCloseTimeout
The total duration allowed for the new 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.
- Returns:
- The total duration allowed for the new 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.
-
withExecutionStartToCloseTimeout
public WorkflowExecutionContinuedAsNewEventAttributes withExecutionStartToCloseTimeout(String executionStartToCloseTimeout) The total duration allowed for the new 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.
- Parameters:
executionStartToCloseTimeout- The total duration allowed for the new 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTaskList
- Parameters:
taskList-
-
getTaskList
- Returns:
-
withTaskList
- Parameters:
taskList-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTaskPriority
- Parameters:
taskPriority-
-
getTaskPriority
- Returns:
-
withTaskPriority
- Parameters:
taskPriority-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTaskStartToCloseTimeout
The maximum duration of decision tasks for the new 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.
- Parameters:
taskStartToCloseTimeout- The maximum duration of decision tasks for the new 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.
-
getTaskStartToCloseTimeout
The maximum duration of decision tasks for the new 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.
- Returns:
- The maximum duration of decision tasks for the new 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.
-
withTaskStartToCloseTimeout
public WorkflowExecutionContinuedAsNewEventAttributes withTaskStartToCloseTimeout(String taskStartToCloseTimeout) The maximum duration of decision tasks for the new 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.
- Parameters:
taskStartToCloseTimeout- The maximum duration of decision tasks for the new 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setChildPolicy
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.
The supported child policies are:
- TERMINATE: the child executions will be terminated.
- REQUEST_CANCEL: a request to cancel will be attempted for each
child execution by recording a
WorkflowExecutionCancelRequestedevent in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event. - ABANDON: no action will be taken. The child executions will continue to run.
- Parameters:
childPolicy- 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.The supported child policies are:
- TERMINATE: the child executions will be terminated.
- REQUEST_CANCEL: a request to cancel will be attempted
for each child execution by recording a
WorkflowExecutionCancelRequestedevent in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event. - ABANDON: no action will be taken. The child executions will continue to run.
- See Also:
-
getChildPolicy
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.
The supported child policies are:
- TERMINATE: the child executions will be terminated.
- REQUEST_CANCEL: a request to cancel will be attempted for each
child execution by recording a
WorkflowExecutionCancelRequestedevent in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event. - ABANDON: no action will be taken. The child executions will continue to run.
- Returns:
- 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.
The supported child policies are:
- TERMINATE: the child executions will be terminated.
- REQUEST_CANCEL: a request to cancel will be attempted
for each child execution by recording a
WorkflowExecutionCancelRequestedevent in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event. - ABANDON: no action will be taken. The child executions will continue to run.
- See Also:
-
withChildPolicy
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.
The supported child policies are:
- TERMINATE: the child executions will be terminated.
- REQUEST_CANCEL: a request to cancel will be attempted for each
child execution by recording a
WorkflowExecutionCancelRequestedevent in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event. - ABANDON: no action will be taken. The child executions will continue to run.
- Parameters:
childPolicy- 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.The supported child policies are:
- TERMINATE: the child executions will be terminated.
- REQUEST_CANCEL: a request to cancel will be attempted
for each child execution by recording a
WorkflowExecutionCancelRequestedevent in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event. - ABANDON: no action will be taken. The child executions will continue to run.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setChildPolicy
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.
The supported child policies are:
- TERMINATE: the child executions will be terminated.
- REQUEST_CANCEL: a request to cancel will be attempted for each
child execution by recording a
WorkflowExecutionCancelRequestedevent in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event. - ABANDON: no action will be taken. The child executions will continue to run.
- Parameters:
childPolicy- 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.The supported child policies are:
- TERMINATE: the child executions will be terminated.
- REQUEST_CANCEL: a request to cancel will be attempted
for each child execution by recording a
WorkflowExecutionCancelRequestedevent in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event. - ABANDON: no action will be taken. The child executions will continue to run.
- See Also:
-
withChildPolicy
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.
The supported child policies are:
- TERMINATE: the child executions will be terminated.
- REQUEST_CANCEL: a request to cancel will be attempted for each
child execution by recording a
WorkflowExecutionCancelRequestedevent in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event. - ABANDON: no action will be taken. The child executions will continue to run.
- Parameters:
childPolicy- 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.The supported child policies are:
- TERMINATE: the child executions will be terminated.
- REQUEST_CANCEL: a request to cancel will be attempted
for each child execution by recording a
WorkflowExecutionCancelRequestedevent in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event. - ABANDON: no action will be taken. The child executions will continue to run.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
getTagList
-
setTagList
The list of tags associated with the new workflow execution.
- Parameters:
tagList- The list of tags associated with the new workflow execution.
-
withTagList
The list of tags associated with the new workflow execution.
NOTE: This method appends the values to the existing list (if any). Use
setTagList(java.util.Collection)orwithTagList(java.util.Collection)if you want to override the existing values.- Parameters:
tagList- The list of tags associated with the new workflow execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withTagList
The list of tags associated with the new workflow execution.
- Parameters:
tagList- The list of tags associated with the new workflow execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setWorkflowType
- Parameters:
workflowType-
-
getWorkflowType
- Returns:
-
withWorkflowType
- Parameters:
workflowType-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLambdaRole
The IAM role attached to this workflow execution to use when invoking AWS Lambda functions.
- Parameters:
lambdaRole- The IAM role attached to this workflow execution to use when invoking AWS Lambda functions.
-
getLambdaRole
The IAM role attached to this workflow execution to use when invoking AWS Lambda functions.
- Returns:
- The IAM role attached to this workflow execution to use when invoking AWS Lambda functions.
-
withLambdaRole
The IAM role attached to this workflow execution to use when invoking AWS Lambda functions.
- Parameters:
lambdaRole- The IAM role attached to this workflow execution to use when invoking AWS Lambda functions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
-