public static interface WorkflowExecutionTerminatedEventAttributes.Builder extends CopyableBuilder<WorkflowExecutionTerminatedEventAttributes.Builder,WorkflowExecutionTerminatedEventAttributes>
Modifier and Type | Method and Description |
---|---|
WorkflowExecutionTerminatedEventAttributes.Builder |
cause(String cause)
If set, indicates that the workflow execution was automatically terminated, and specifies the cause.
|
WorkflowExecutionTerminatedEventAttributes.Builder |
cause(WorkflowExecutionTerminatedCause cause)
If set, indicates that the workflow execution was automatically terminated, and specifies the cause.
|
WorkflowExecutionTerminatedEventAttributes.Builder |
childPolicy(ChildPolicy childPolicy)
The policy used for the child workflow executions of this workflow execution.
|
WorkflowExecutionTerminatedEventAttributes.Builder |
childPolicy(String childPolicy)
The policy used for the child workflow executions of this workflow execution.
|
WorkflowExecutionTerminatedEventAttributes.Builder |
details(String details)
The details provided for the termination.
|
WorkflowExecutionTerminatedEventAttributes.Builder |
reason(String reason)
The reason provided for the termination.
|
copy
apply, build
WorkflowExecutionTerminatedEventAttributes.Builder reason(String reason)
The reason provided for the termination.
reason
- The reason provided for the termination.WorkflowExecutionTerminatedEventAttributes.Builder details(String details)
The details provided for the termination.
details
- The details provided for the termination.WorkflowExecutionTerminatedEventAttributes.Builder childPolicy(String childPolicy)
The policy used for the child workflow executions of this workflow execution.
The supported child policies are:
TERMINATE
– The child executions are terminated.
REQUEST_CANCEL
– A request to cancel is attempted for each child execution by recording a
WorkflowExecutionCancelRequested
event 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 is taken. The child executions continue to run.
childPolicy
- The policy used for the child workflow executions of this workflow execution.
The supported child policies are:
TERMINATE
– The child executions are terminated.
REQUEST_CANCEL
– A request to cancel is attempted for each child execution by recording a
WorkflowExecutionCancelRequested
event 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 is taken. The child executions continue to run.
ChildPolicy
,
ChildPolicy
WorkflowExecutionTerminatedEventAttributes.Builder childPolicy(ChildPolicy childPolicy)
The policy used for the child workflow executions of this workflow execution.
The supported child policies are:
TERMINATE
– The child executions are terminated.
REQUEST_CANCEL
– A request to cancel is attempted for each child execution by recording a
WorkflowExecutionCancelRequested
event 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 is taken. The child executions continue to run.
childPolicy
- The policy used for the child workflow executions of this workflow execution.
The supported child policies are:
TERMINATE
– The child executions are terminated.
REQUEST_CANCEL
– A request to cancel is attempted for each child execution by recording a
WorkflowExecutionCancelRequested
event 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 is taken. The child executions continue to run.
ChildPolicy
,
ChildPolicy
WorkflowExecutionTerminatedEventAttributes.Builder cause(String cause)
If set, indicates that the workflow execution was automatically terminated, and specifies the cause. This happens if the parent workflow execution times out or is terminated and the child policy is set to terminate child executions.
cause
- If set, indicates that the workflow execution was automatically terminated, and specifies the cause.
This happens if the parent workflow execution times out or is terminated and the child policy is set
to terminate child executions.WorkflowExecutionTerminatedCause
,
WorkflowExecutionTerminatedCause
WorkflowExecutionTerminatedEventAttributes.Builder cause(WorkflowExecutionTerminatedCause cause)
If set, indicates that the workflow execution was automatically terminated, and specifies the cause. This happens if the parent workflow execution times out or is terminated and the child policy is set to terminate child executions.
cause
- If set, indicates that the workflow execution was automatically terminated, and specifies the cause.
This happens if the parent workflow execution times out or is terminated and the child policy is set
to terminate child executions.WorkflowExecutionTerminatedCause
,
WorkflowExecutionTerminatedCause
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.