public class ChildWorkflowExecutionCanceledEventAttributes extends Object implements Serializable, Cloneable
Provide details of the ChildWorkflowExecutionCanceled
event.
Constructor and Description |
---|
ChildWorkflowExecutionCanceledEventAttributes() |
Modifier and Type | Method and Description |
---|---|
ChildWorkflowExecutionCanceledEventAttributes |
clone() |
boolean |
equals(Object obj) |
String |
getDetails()
Details of the cancellation (if provided).
|
Long |
getInitiatedEventId()
The ID of the
StartChildWorkflowExecutionInitiated event
corresponding to the StartChildWorkflowExecution decision to
start this child workflow execution. |
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(String details)
Details of the cancellation (if provided).
|
void |
setInitiatedEventId(Long initiatedEventId)
The ID of the
StartChildWorkflowExecutionInitiated event
corresponding to the StartChildWorkflowExecution decision to
start this child workflow execution. |
void |
setStartedEventId(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.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ChildWorkflowExecutionCanceledEventAttributes |
withDetails(String details)
Details of the cancellation (if provided).
|
ChildWorkflowExecutionCanceledEventAttributes |
withInitiatedEventId(Long initiatedEventId)
The ID of the
StartChildWorkflowExecutionInitiated event
corresponding to the StartChildWorkflowExecution decision to
start this child workflow execution. |
ChildWorkflowExecutionCanceledEventAttributes |
withStartedEventId(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.
|
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(String details)
Details of the cancellation (if provided).
details
- Details of the cancellation (if provided).public String getDetails()
Details of the cancellation (if provided).
public ChildWorkflowExecutionCanceledEventAttributes withDetails(String details)
Details of the cancellation (if provided).
details
- Details of the cancellation (if provided).public void setInitiatedEventId(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 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(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(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 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(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 String toString()
toString
in class Object
Object.toString()
public ChildWorkflowExecutionCanceledEventAttributes clone()
Copyright © 2018. All rights reserved.