CopyableBuilder<WorkflowExecutionTerminatedEventAttributes.Builder,WorkflowExecutionTerminatedEventAttributes>
, SdkBuilder<WorkflowExecutionTerminatedEventAttributes.Builder,WorkflowExecutionTerminatedEventAttributes>
public static interface WorkflowExecutionTerminatedEventAttributes.Builder extends CopyableBuilder<WorkflowExecutionTerminatedEventAttributes.Builder,WorkflowExecutionTerminatedEventAttributes>
Modifier and Type | Method | 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(String childPolicy) |
The policy used for the child workflow executions of this workflow execution.
|
WorkflowExecutionTerminatedEventAttributes.Builder |
childPolicy(ChildPolicy childPolicy) |
The policy used for the child workflow executions of this workflow execution.
|
WorkflowExecutionTerminatedEventAttributes.Builder |
details(String details) |
The details provided for the termination (if any).
|
WorkflowExecutionTerminatedEventAttributes.Builder |
reason(String reason) |
The reason provided for the termination (if any).
|
copy
apply, build
WorkflowExecutionTerminatedEventAttributes.Builder reason(String reason)
The reason provided for the termination (if any).
reason
- The reason provided for the termination (if any).WorkflowExecutionTerminatedEventAttributes.Builder details(String details)
The details provided for the termination (if any).
details
- The details provided for the termination (if any).WorkflowExecutionTerminatedEventAttributes.Builder childPolicy(String childPolicy)
The policy used for the child workflow executions of this workflow execution.
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
- The policy used for the child workflow executions of this workflow execution.
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
WorkflowExecutionTerminatedEventAttributes.Builder childPolicy(ChildPolicy childPolicy)
The policy used for the child workflow executions of this workflow execution.
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
- The policy used for the child workflow executions of this workflow execution.
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
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
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
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.