StructuredPojo
, ToCopyableBuilder<WorkflowExecutionTerminatedEventAttributes.Builder,WorkflowExecutionTerminatedEventAttributes>
@Generated("software.amazon.awssdk:codegen") public class WorkflowExecutionTerminatedEventAttributes extends Object implements StructuredPojo, ToCopyableBuilder<WorkflowExecutionTerminatedEventAttributes.Builder,WorkflowExecutionTerminatedEventAttributes>
Provides details of the WorkflowExecutionTerminated
event.
Modifier and Type | Class | Description |
---|---|---|
static interface |
WorkflowExecutionTerminatedEventAttributes.Builder |
Modifier and Type | Method | Description |
---|---|---|
static WorkflowExecutionTerminatedEventAttributes.Builder |
builder() |
|
String |
cause() |
If set, indicates that the workflow execution was automatically terminated, and specifies the cause.
|
String |
childPolicy() |
The policy used for the child workflow executions of this workflow execution.
|
String |
details() |
The details provided for the termination (if any).
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
reason() |
The reason provided for the termination (if any).
|
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() |
public String reason()
The reason provided for the termination (if any).
public String details()
The details provided for the termination (if any).
public 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.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
public 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.
WorkflowExecutionTerminatedCause
public WorkflowExecutionTerminatedEventAttributes.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<WorkflowExecutionTerminatedEventAttributes.Builder,WorkflowExecutionTerminatedEventAttributes>
public static WorkflowExecutionTerminatedEventAttributes.Builder builder()
public static Class<? extends WorkflowExecutionTerminatedEventAttributes.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.