public class ChildWorkflowExecutionTerminatedEventAttributes
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Provides details of the ChildWorkflowExecutionTerminated
event.
Modifier and Type | Field and Description |
---|---|
private java.lang.Long |
initiatedEventId
The ID of the
StartChildWorkflowExecutionInitiated event
corresponding to the StartChildWorkflowExecution decision to
start this child workflow execution. |
private java.lang.Long |
startedEventId
The ID of the
ChildWorkflowExecutionStarted event recorded
when this child workflow execution was started. |
private WorkflowExecution |
workflowExecution
The child workflow execution that was terminated.
|
private WorkflowType |
workflowType
The type of the child workflow execution.
|
Constructor and Description |
---|
ChildWorkflowExecutionTerminatedEventAttributes() |
Modifier and Type | Method and Description |
---|---|
ChildWorkflowExecutionTerminatedEventAttributes |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Long |
getInitiatedEventId()
The ID of the
StartChildWorkflowExecutionInitiated event
corresponding to the StartChildWorkflowExecution decision to
start this child workflow execution. |
java.lang.Long |
getStartedEventId()
The ID of the
ChildWorkflowExecutionStarted event recorded
when this child workflow execution was started. |
WorkflowExecution |
getWorkflowExecution()
The child workflow execution that was terminated.
|
WorkflowType |
getWorkflowType()
The type of the child workflow execution.
|
int |
hashCode() |
void |
setInitiatedEventId(java.lang.Long initiatedEventId)
The ID of the
StartChildWorkflowExecutionInitiated event
corresponding to the StartChildWorkflowExecution decision to
start this child workflow execution. |
void |
setStartedEventId(java.lang.Long startedEventId)
The ID of the
ChildWorkflowExecutionStarted event recorded
when this child workflow execution was started. |
void |
setWorkflowExecution(WorkflowExecution workflowExecution)
The child workflow execution that was terminated.
|
void |
setWorkflowType(WorkflowType workflowType)
The type of the child workflow execution.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ChildWorkflowExecutionTerminatedEventAttributes |
withInitiatedEventId(java.lang.Long initiatedEventId)
The ID of the
StartChildWorkflowExecutionInitiated event
corresponding to the StartChildWorkflowExecution decision to
start this child workflow execution. |
ChildWorkflowExecutionTerminatedEventAttributes |
withStartedEventId(java.lang.Long startedEventId)
The ID of the
ChildWorkflowExecutionStarted event recorded
when this child workflow execution was started. |
ChildWorkflowExecutionTerminatedEventAttributes |
withWorkflowExecution(WorkflowExecution workflowExecution)
The child workflow execution that was terminated.
|
ChildWorkflowExecutionTerminatedEventAttributes |
withWorkflowType(WorkflowType workflowType)
The type of the child workflow execution.
|
private WorkflowExecution workflowExecution
The child workflow execution that was terminated.
private WorkflowType workflowType
The type of the child workflow execution.
private java.lang.Long initiatedEventId
The ID of the StartChildWorkflowExecutionInitiated
event
corresponding to the StartChildWorkflowExecution
decision to
start this child workflow execution. This information can be useful for
diagnosing problems by tracing back the chain of events leading up to
this event.
private java.lang.Long startedEventId
The ID of the ChildWorkflowExecutionStarted
event recorded
when this child workflow execution was started. This information can be
useful for diagnosing problems by tracing back the chain of events
leading up to this event.
public ChildWorkflowExecutionTerminatedEventAttributes()
public void setWorkflowExecution(WorkflowExecution workflowExecution)
The child workflow execution that was terminated.
workflowExecution
- The child workflow execution that was terminated.public WorkflowExecution getWorkflowExecution()
The child workflow execution that was terminated.
public ChildWorkflowExecutionTerminatedEventAttributes withWorkflowExecution(WorkflowExecution workflowExecution)
The child workflow execution that was terminated.
workflowExecution
- The child workflow execution that was terminated.public void setWorkflowType(WorkflowType workflowType)
The type of the child workflow execution.
workflowType
- The type of the child workflow execution.public WorkflowType getWorkflowType()
The type of the child workflow execution.
public ChildWorkflowExecutionTerminatedEventAttributes withWorkflowType(WorkflowType workflowType)
The type of the child workflow execution.
workflowType
- The type of the child workflow execution.public void setInitiatedEventId(java.lang.Long initiatedEventId)
The ID of the StartChildWorkflowExecutionInitiated
event
corresponding to the StartChildWorkflowExecution
decision to
start this child workflow execution. This information can be useful for
diagnosing problems by tracing back the chain of events leading up to
this event.
initiatedEventId
- The ID of the StartChildWorkflowExecutionInitiated
event corresponding to the
StartChildWorkflowExecution
decision to start this
child workflow execution. This information can be useful for
diagnosing problems by tracing back the chain of events leading up
to this event.public java.lang.Long getInitiatedEventId()
The ID of the StartChildWorkflowExecutionInitiated
event
corresponding to the StartChildWorkflowExecution
decision to
start this child workflow execution. This information can be useful for
diagnosing problems by tracing back the chain of events leading up to
this event.
StartChildWorkflowExecutionInitiated
event corresponding to the
StartChildWorkflowExecution
decision to start this
child workflow execution. This information can be useful for
diagnosing problems by tracing back the chain of events leading
up to this event.public ChildWorkflowExecutionTerminatedEventAttributes withInitiatedEventId(java.lang.Long initiatedEventId)
The ID of the StartChildWorkflowExecutionInitiated
event
corresponding to the StartChildWorkflowExecution
decision to
start this child workflow execution. This information can be useful for
diagnosing problems by tracing back the chain of events leading up to
this event.
initiatedEventId
- The ID of the StartChildWorkflowExecutionInitiated
event corresponding to the
StartChildWorkflowExecution
decision to start this
child workflow execution. This information can be useful for
diagnosing problems by tracing back the chain of events leading up
to this event.public void setStartedEventId(java.lang.Long startedEventId)
The ID of the ChildWorkflowExecutionStarted
event recorded
when this child workflow execution was started. This information can be
useful for diagnosing problems by tracing back the chain of events
leading up to this event.
startedEventId
- The ID of the ChildWorkflowExecutionStarted
event
recorded when this child workflow execution was started. This
information can be useful for diagnosing problems by tracing back
the chain of events leading up to this event.public java.lang.Long getStartedEventId()
The ID of the ChildWorkflowExecutionStarted
event recorded
when this child workflow execution was started. This information can be
useful for diagnosing problems by tracing back the chain of events
leading up to this event.
ChildWorkflowExecutionStarted
event
recorded when this child workflow execution was started. This
information can be useful for diagnosing problems by tracing back
the chain of events leading up to this event.public ChildWorkflowExecutionTerminatedEventAttributes withStartedEventId(java.lang.Long startedEventId)
The ID of the ChildWorkflowExecutionStarted
event recorded
when this child workflow execution was started. This information can be
useful for diagnosing problems by tracing back the chain of events
leading up to this event.
startedEventId
- The ID of the ChildWorkflowExecutionStarted
event
recorded when this child workflow execution was started. This
information can be useful for diagnosing problems by tracing back
the chain of events leading up to this event.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ChildWorkflowExecutionTerminatedEventAttributes clone()
clone
in class java.lang.Object