public class ChildWorkflowExecutionCompletedEventAttributes
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Provides details of the ChildWorkflowExecutionCompleted
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.String |
result
The result of the child workflow execution (if any).
|
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 completed.
|
private WorkflowType |
workflowType
The type of the child workflow execution.
|
Constructor and Description |
---|
ChildWorkflowExecutionCompletedEventAttributes() |
Modifier and Type | Method and Description |
---|---|
ChildWorkflowExecutionCompletedEventAttributes |
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.String |
getResult()
The result of the child workflow execution (if any).
|
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 completed.
|
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 |
setResult(java.lang.String result)
The result of the child workflow execution (if any).
|
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 completed.
|
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.
|
ChildWorkflowExecutionCompletedEventAttributes |
withInitiatedEventId(java.lang.Long initiatedEventId)
The ID of the
StartChildWorkflowExecutionInitiated event
corresponding to the StartChildWorkflowExecution decision to
start this child workflow execution. |
ChildWorkflowExecutionCompletedEventAttributes |
withResult(java.lang.String result)
The result of the child workflow execution (if any).
|
ChildWorkflowExecutionCompletedEventAttributes |
withStartedEventId(java.lang.Long startedEventId)
The ID of the
ChildWorkflowExecutionStarted event recorded
when this child workflow execution was started. |
ChildWorkflowExecutionCompletedEventAttributes |
withWorkflowExecution(WorkflowExecution workflowExecution)
The child workflow execution that was completed.
|
ChildWorkflowExecutionCompletedEventAttributes |
withWorkflowType(WorkflowType workflowType)
The type of the child workflow execution.
|
private WorkflowExecution workflowExecution
The child workflow execution that was completed.
private WorkflowType workflowType
The type of the child workflow execution.
private java.lang.String result
The result of the child workflow execution (if any).
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 ChildWorkflowExecutionCompletedEventAttributes()
public void setWorkflowExecution(WorkflowExecution workflowExecution)
The child workflow execution that was completed.
workflowExecution
- The child workflow execution that was completed.public WorkflowExecution getWorkflowExecution()
The child workflow execution that was completed.
public ChildWorkflowExecutionCompletedEventAttributes withWorkflowExecution(WorkflowExecution workflowExecution)
The child workflow execution that was completed.
workflowExecution
- The child workflow execution that was completed.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 ChildWorkflowExecutionCompletedEventAttributes withWorkflowType(WorkflowType workflowType)
The type of the child workflow execution.
workflowType
- The type of the child workflow execution.public void setResult(java.lang.String result)
The result of the child workflow execution (if any).
result
- The result of the child workflow execution (if any).public java.lang.String getResult()
The result of the child workflow execution (if any).
public ChildWorkflowExecutionCompletedEventAttributes withResult(java.lang.String result)
The result of the child workflow execution (if any).
result
- The result of the child workflow execution (if any).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 ChildWorkflowExecutionCompletedEventAttributes 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 ChildWorkflowExecutionCompletedEventAttributes 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 ChildWorkflowExecutionCompletedEventAttributes clone()
clone
in class java.lang.Object