Class ExternalWorkflowExecutionCancelRequestedEventAttributes
- All Implemented Interfaces:
Serializable, Cloneable
Provides details of the ExternalWorkflowExecutionCancelRequested
event.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe ID of theRequestCancelExternalWorkflowExecutionInitiatedevent corresponding to theRequestCancelExternalWorkflowExecutiondecision to cancel this external workflow execution.The external workflow execution to which the cancellation request was delivered.inthashCode()voidsetInitiatedEventId(Long initiatedEventId) The ID of theRequestCancelExternalWorkflowExecutionInitiatedevent corresponding to theRequestCancelExternalWorkflowExecutiondecision to cancel this external workflow execution.voidsetWorkflowExecution(WorkflowExecution workflowExecution) The external workflow execution to which the cancellation request was delivered.toString()Returns a string representation of this object; useful for testing and debugging.withInitiatedEventId(Long initiatedEventId) The ID of theRequestCancelExternalWorkflowExecutionInitiatedevent corresponding to theRequestCancelExternalWorkflowExecutiondecision to cancel this external workflow execution.withWorkflowExecution(WorkflowExecution workflowExecution) The external workflow execution to which the cancellation request was delivered.
-
Constructor Details
-
ExternalWorkflowExecutionCancelRequestedEventAttributes
public ExternalWorkflowExecutionCancelRequestedEventAttributes()
-
-
Method Details
-
setWorkflowExecution
The external workflow execution to which the cancellation request was delivered.
- Parameters:
workflowExecution- The external workflow execution to which the cancellation request was delivered.
-
getWorkflowExecution
The external workflow execution to which the cancellation request was delivered.
- Returns:
- The external workflow execution to which the cancellation request was delivered.
-
withWorkflowExecution
public ExternalWorkflowExecutionCancelRequestedEventAttributes withWorkflowExecution(WorkflowExecution workflowExecution) The external workflow execution to which the cancellation request was delivered.
- Parameters:
workflowExecution- The external workflow execution to which the cancellation request was delivered.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setInitiatedEventId
The ID of the
RequestCancelExternalWorkflowExecutionInitiatedevent corresponding to theRequestCancelExternalWorkflowExecutiondecision 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.- Parameters:
initiatedEventId- The ID of theRequestCancelExternalWorkflowExecutionInitiatedevent corresponding to theRequestCancelExternalWorkflowExecutiondecision 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.
-
getInitiatedEventId
The ID of the
RequestCancelExternalWorkflowExecutionInitiatedevent corresponding to theRequestCancelExternalWorkflowExecutiondecision 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.- Returns:
- The ID of the
RequestCancelExternalWorkflowExecutionInitiatedevent corresponding to theRequestCancelExternalWorkflowExecutiondecision 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.
-
withInitiatedEventId
public ExternalWorkflowExecutionCancelRequestedEventAttributes withInitiatedEventId(Long initiatedEventId) The ID of the
RequestCancelExternalWorkflowExecutionInitiatedevent corresponding to theRequestCancelExternalWorkflowExecutiondecision 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.- Parameters:
initiatedEventId- The ID of theRequestCancelExternalWorkflowExecutionInitiatedevent corresponding to theRequestCancelExternalWorkflowExecutiondecision 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
-