public class ExternalWorkflowExecutionCancelRequestedEventAttributes extends Object implements Serializable
Provides details of the
ExternalWorkflowExecutionCancelRequested
event.
Constructor and Description |
---|
ExternalWorkflowExecutionCancelRequestedEventAttributes() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
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(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.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ExternalWorkflowExecutionCancelRequestedEventAttributes |
withInitiatedEventId(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.
|
public ExternalWorkflowExecutionCancelRequestedEventAttributes()
public WorkflowExecution getWorkflowExecution()
public void setWorkflowExecution(WorkflowExecution workflowExecution)
workflowExecution
- The external workflow execution to which the cancellation request was
delivered.public ExternalWorkflowExecutionCancelRequestedEventAttributes withWorkflowExecution(WorkflowExecution workflowExecution)
Returns a reference to this object so that method calls can be chained together.
workflowExecution
- The external workflow execution to which the cancellation request was
delivered.public Long getInitiatedEventId()
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 void setInitiatedEventId(Long initiatedEventId)
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 ExternalWorkflowExecutionCancelRequestedEventAttributes withInitiatedEventId(Long initiatedEventId)
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.
Returns a reference to this object so that method calls can be chained together.
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 String toString()
toString
in class Object
Object.toString()
Copyright © 2015. All rights reserved.