@Generated(value="software.amazon.awssdk:codegen") public class WorkflowExecutionTerminatedEventAttributes extends Object implements StructuredPojo, ToCopyableBuilder<WorkflowExecutionTerminatedEventAttributes.Builder,WorkflowExecutionTerminatedEventAttributes>
Provides the details of the WorkflowExecutionTerminated event.
| Modifier and Type | Class and Description |
|---|---|
static interface |
WorkflowExecutionTerminatedEventAttributes.Builder |
| Modifier and Type | Method and Description |
|---|---|
static WorkflowExecutionTerminatedEventAttributes.Builder |
builder() |
WorkflowExecutionTerminatedCause |
cause()
If set, indicates that the workflow execution was automatically terminated, and specifies the cause.
|
String |
causeAsString()
If set, indicates that the workflow execution was automatically terminated, and specifies the cause.
|
ChildPolicy |
childPolicy()
The policy used for the child workflow executions of this workflow execution.
|
String |
childPolicyAsString()
The policy used for the child workflow executions of this workflow execution.
|
String |
details()
The details provided for the termination.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
String |
reason()
The reason provided for the termination.
|
static Class<? extends WorkflowExecutionTerminatedEventAttributes.Builder> |
serializableBuilderClass() |
WorkflowExecutionTerminatedEventAttributes.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copypublic String reason()
The reason provided for the termination.
public String details()
The details provided for the termination.
public 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.
If the service returns an enum value that is not available in the current SDK version, childPolicy will
return ChildPolicy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
childPolicyAsString().
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.
ChildPolicypublic String childPolicyAsString()
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.
If the service returns an enum value that is not available in the current SDK version, childPolicy will
return ChildPolicy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
childPolicyAsString().
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.
ChildPolicypublic 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.
If the service returns an enum value that is not available in the current SDK version, cause will return
WorkflowExecutionTerminatedCause.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from causeAsString().
WorkflowExecutionTerminatedCausepublic String causeAsString()
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.
If the service returns an enum value that is not available in the current SDK version, cause will return
WorkflowExecutionTerminatedCause.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from causeAsString().
WorkflowExecutionTerminatedCausepublic WorkflowExecutionTerminatedEventAttributes.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<WorkflowExecutionTerminatedEventAttributes.Builder,WorkflowExecutionTerminatedEventAttributes>public static WorkflowExecutionTerminatedEventAttributes.Builder builder()
public static Class<? extends WorkflowExecutionTerminatedEventAttributes.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.