public class ChildWorkflowExecutionCanceledEventAttributes
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Provide details of the ChildWorkflowExecutionCanceled
event.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
details
Details of the cancellation (if provided).
|
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 canceled.
|
private WorkflowType |
workflowType
The type of the child workflow execution.
|
Constructor and Description |
---|
ChildWorkflowExecutionCanceledEventAttributes() |
Modifier and Type | Method and Description |
---|---|
ChildWorkflowExecutionCanceledEventAttributes |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDetails()
Details of the cancellation (if provided).
|
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 canceled.
|
WorkflowType |
getWorkflowType()
The type of the child workflow execution.
|
int |
hashCode() |
void |
setDetails(java.lang.String details)
Details of the cancellation (if provided).
|
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 canceled.
|
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.
|
ChildWorkflowExecutionCanceledEventAttributes |
withDetails(java.lang.String details)
Details of the cancellation (if provided).
|
ChildWorkflowExecutionCanceledEventAttributes |
withInitiatedEventId(java.lang.Long initiatedEventId)
The ID of the
StartChildWorkflowExecutionInitiated event
corresponding to the StartChildWorkflowExecution decision to
start this child workflow execution. |
ChildWorkflowExecutionCanceledEventAttributes |
withStartedEventId(java.lang.Long startedEventId)
The ID of the
ChildWorkflowExecutionStarted event recorded
when this child workflow execution was started. |
ChildWorkflowExecutionCanceledEventAttributes |
withWorkflowExecution(WorkflowExecution workflowExecution)
The child workflow execution that was canceled.
|
ChildWorkflowExecutionCanceledEventAttributes |
withWorkflowType(WorkflowType workflowType)
The type of the child workflow execution.
|
private WorkflowExecution workflowExecution
The child workflow execution that was canceled.
private WorkflowType workflowType
The type of the child workflow execution.
private java.lang.String details
Details of the cancellation (if provided).
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 ChildWorkflowExecutionCanceledEventAttributes()
public void setWorkflowExecution(WorkflowExecution workflowExecution)
The child workflow execution that was canceled.
workflowExecution
- The child workflow execution that was canceled.public WorkflowExecution getWorkflowExecution()
The child workflow execution that was canceled.
public ChildWorkflowExecutionCanceledEventAttributes withWorkflowExecution(WorkflowExecution workflowExecution)
The child workflow execution that was canceled.
workflowExecution
- The child workflow execution that was canceled.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 ChildWorkflowExecutionCanceledEventAttributes withWorkflowType(WorkflowType workflowType)
The type of the child workflow execution.
workflowType
- The type of the child workflow execution.public void setDetails(java.lang.String details)
Details of the cancellation (if provided).
details
- Details of the cancellation (if provided).public java.lang.String getDetails()
Details of the cancellation (if provided).
public ChildWorkflowExecutionCanceledEventAttributes withDetails(java.lang.String details)
Details of the cancellation (if provided).
details
- Details of the cancellation (if provided).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 ChildWorkflowExecutionCanceledEventAttributes 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 ChildWorkflowExecutionCanceledEventAttributes 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 ChildWorkflowExecutionCanceledEventAttributes clone()
clone
in class java.lang.Object