public class ExternalWorkflowExecutionCancelRequestedEventAttributes
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Provides details of the ExternalWorkflowExecutionCancelRequested
event.
Modifier and Type | Field and Description |
---|---|
private java.lang.Long |
initiatedEventId
The ID of the
RequestCancelExternalWorkflowExecutionInitiated event
corresponding to the RequestCancelExternalWorkflowExecution
decision to cancel this external workflow execution. |
private WorkflowExecution |
workflowExecution
The external workflow execution to which the cancellation request was
delivered.
|
Constructor and Description |
---|
ExternalWorkflowExecutionCancelRequestedEventAttributes() |
Modifier and Type | Method and Description |
---|---|
ExternalWorkflowExecutionCancelRequestedEventAttributes |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Long |
getInitiatedEventId()
The ID of the
RequestCancelExternalWorkflowExecutionInitiated event
corresponding to the RequestCancelExternalWorkflowExecution
decision to cancel this external workflow execution. |
WorkflowExecution |
getWorkflowExecution()
The external workflow execution to which the cancellation request was
delivered.
|
int |
hashCode() |
void |
setInitiatedEventId(java.lang.Long initiatedEventId)
The ID of the
RequestCancelExternalWorkflowExecutionInitiated event
corresponding to the RequestCancelExternalWorkflowExecution
decision to cancel this external workflow execution. |
void |
setWorkflowExecution(WorkflowExecution workflowExecution)
The external workflow execution to which the cancellation request was
delivered.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ExternalWorkflowExecutionCancelRequestedEventAttributes |
withInitiatedEventId(java.lang.Long initiatedEventId)
The ID of the
RequestCancelExternalWorkflowExecutionInitiated event
corresponding to the RequestCancelExternalWorkflowExecution
decision to cancel this external workflow execution. |
ExternalWorkflowExecutionCancelRequestedEventAttributes |
withWorkflowExecution(WorkflowExecution workflowExecution)
The external workflow execution to which the cancellation request was
delivered.
|
private WorkflowExecution workflowExecution
The external workflow execution to which the cancellation request was delivered.
private java.lang.Long initiatedEventId
The ID of the
RequestCancelExternalWorkflowExecutionInitiated
event
corresponding to the RequestCancelExternalWorkflowExecution
decision to cancel this external workflow execution. This information can
be useful for diagnosing problems by tracing back the chain of events
leading up to this event.
public ExternalWorkflowExecutionCancelRequestedEventAttributes()
public void setWorkflowExecution(WorkflowExecution workflowExecution)
The external workflow execution to which the cancellation request was delivered.
workflowExecution
- The external workflow execution to which the cancellation request
was delivered.public WorkflowExecution getWorkflowExecution()
The external workflow execution to which the cancellation request was delivered.
public ExternalWorkflowExecutionCancelRequestedEventAttributes withWorkflowExecution(WorkflowExecution workflowExecution)
The external workflow execution to which the cancellation request was delivered.
workflowExecution
- The external workflow execution to which the cancellation request
was delivered.public void setInitiatedEventId(java.lang.Long initiatedEventId)
The ID of the
RequestCancelExternalWorkflowExecutionInitiated
event
corresponding to the RequestCancelExternalWorkflowExecution
decision to cancel this external 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
RequestCancelExternalWorkflowExecutionInitiated
event
corresponding to the
RequestCancelExternalWorkflowExecution
decision to
cancel this external 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
RequestCancelExternalWorkflowExecutionInitiated
event
corresponding to the RequestCancelExternalWorkflowExecution
decision to cancel this external workflow execution. This information can
be useful for diagnosing problems by tracing back the chain of events
leading up to this event.
RequestCancelExternalWorkflowExecutionInitiated
event corresponding to the
RequestCancelExternalWorkflowExecution
decision to
cancel this external workflow execution. This information can be
useful for diagnosing problems by tracing back the chain of
events leading up to this event.public ExternalWorkflowExecutionCancelRequestedEventAttributes withInitiatedEventId(java.lang.Long initiatedEventId)
The ID of the
RequestCancelExternalWorkflowExecutionInitiated
event
corresponding to the RequestCancelExternalWorkflowExecution
decision to cancel this external 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
RequestCancelExternalWorkflowExecutionInitiated
event
corresponding to the
RequestCancelExternalWorkflowExecution
decision to
cancel this external 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.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 ExternalWorkflowExecutionCancelRequestedEventAttributes clone()
clone
in class java.lang.Object