@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WorkflowExecutionTerminatedEventAttributes extends Object implements Serializable, Cloneable, StructuredPojo
Provides the details of the WorkflowExecutionTerminated
event.
Constructor and Description |
---|
WorkflowExecutionTerminatedEventAttributes() |
Modifier and Type | Method and Description |
---|---|
WorkflowExecutionTerminatedEventAttributes |
clone() |
boolean |
equals(Object obj) |
String |
getCause()
If set, indicates that the workflow execution was automatically terminated, and specifies the cause.
|
String |
getChildPolicy()
The policy used for the child workflow executions of this workflow execution.
|
String |
getDetails()
The details provided for the termination.
|
String |
getReason()
The reason provided for the termination.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCause(String cause)
If set, indicates that the workflow execution was automatically terminated, and specifies the cause.
|
void |
setCause(WorkflowExecutionTerminatedCause cause)
If set, indicates that the workflow execution was automatically terminated, and specifies the cause.
|
void |
setChildPolicy(ChildPolicy childPolicy)
The policy used for the child workflow executions of this workflow execution.
|
void |
setChildPolicy(String childPolicy)
The policy used for the child workflow executions of this workflow execution.
|
void |
setDetails(String details)
The details provided for the termination.
|
void |
setReason(String reason)
The reason provided for the termination.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
WorkflowExecutionTerminatedEventAttributes |
withCause(String cause)
If set, indicates that the workflow execution was automatically terminated, and specifies the cause.
|
WorkflowExecutionTerminatedEventAttributes |
withCause(WorkflowExecutionTerminatedCause cause)
If set, indicates that the workflow execution was automatically terminated, and specifies the cause.
|
WorkflowExecutionTerminatedEventAttributes |
withChildPolicy(ChildPolicy childPolicy)
The policy used for the child workflow executions of this workflow execution.
|
WorkflowExecutionTerminatedEventAttributes |
withChildPolicy(String childPolicy)
The policy used for the child workflow executions of this workflow execution.
|
WorkflowExecutionTerminatedEventAttributes |
withDetails(String details)
The details provided for the termination.
|
WorkflowExecutionTerminatedEventAttributes |
withReason(String reason)
The reason provided for the termination.
|
public WorkflowExecutionTerminatedEventAttributes()
public void setReason(String reason)
The reason provided for the termination.
reason
- The reason provided for the termination.public String getReason()
The reason provided for the termination.
public WorkflowExecutionTerminatedEventAttributes withReason(String reason)
The reason provided for the termination.
reason
- The reason provided for the termination.public void setDetails(String details)
The details provided for the termination.
details
- The details provided for the termination.public String getDetails()
The details provided for the termination.
public WorkflowExecutionTerminatedEventAttributes withDetails(String details)
The details provided for the termination.
details
- The details provided for the termination.public void setChildPolicy(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
public String getChildPolicy()
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.
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
public WorkflowExecutionTerminatedEventAttributes withChildPolicy(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
public void setChildPolicy(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
public WorkflowExecutionTerminatedEventAttributes withChildPolicy(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
public void setCause(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
public String getCause()
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 withCause(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
public void setCause(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
public WorkflowExecutionTerminatedEventAttributes withCause(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
public String toString()
toString
in class Object
Object.toString()
public WorkflowExecutionTerminatedEventAttributes clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.