public class RequestCancelExternalWorkflowExecutionInitiatedEventAttributes
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Provides details of the
RequestCancelExternalWorkflowExecutionInitiated
event.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
control
Optional. Data attached to the event that can be used by the
decider in subsequent workflow tasks.
|
private java.lang.Long |
decisionTaskCompletedEventId
The ID of the
DecisionTaskCompleted event corresponding to
the decision task that resulted in the
RequestCancelExternalWorkflowExecution decision for this
cancellation request. |
private java.lang.String |
runId
The
runId of the external workflow execution to be canceled. |
private java.lang.String |
workflowId
The
workflowId of the external workflow execution to be
canceled. |
Constructor and Description |
---|
RequestCancelExternalWorkflowExecutionInitiatedEventAttributes() |
Modifier and Type | Method and Description |
---|---|
RequestCancelExternalWorkflowExecutionInitiatedEventAttributes |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getControl()
Optional. Data attached to the event that can be used by the
decider in subsequent workflow tasks.
|
java.lang.Long |
getDecisionTaskCompletedEventId()
The ID of the
DecisionTaskCompleted event corresponding to
the decision task that resulted in the
RequestCancelExternalWorkflowExecution decision for this
cancellation request. |
java.lang.String |
getRunId()
The
runId of the external workflow execution to be canceled. |
java.lang.String |
getWorkflowId()
The
workflowId of the external workflow execution to be
canceled. |
int |
hashCode() |
void |
setControl(java.lang.String control)
Optional. Data attached to the event that can be used by the
decider in subsequent workflow tasks.
|
void |
setDecisionTaskCompletedEventId(java.lang.Long decisionTaskCompletedEventId)
The ID of the
DecisionTaskCompleted event corresponding to
the decision task that resulted in the
RequestCancelExternalWorkflowExecution decision for this
cancellation request. |
void |
setRunId(java.lang.String runId)
The
runId of the external workflow execution to be canceled. |
void |
setWorkflowId(java.lang.String workflowId)
The
workflowId of the external workflow execution to be
canceled. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RequestCancelExternalWorkflowExecutionInitiatedEventAttributes |
withControl(java.lang.String control)
Optional. Data attached to the event that can be used by the
decider in subsequent workflow tasks.
|
RequestCancelExternalWorkflowExecutionInitiatedEventAttributes |
withDecisionTaskCompletedEventId(java.lang.Long decisionTaskCompletedEventId)
The ID of the
DecisionTaskCompleted event corresponding to
the decision task that resulted in the
RequestCancelExternalWorkflowExecution decision for this
cancellation request. |
RequestCancelExternalWorkflowExecutionInitiatedEventAttributes |
withRunId(java.lang.String runId)
The
runId of the external workflow execution to be canceled. |
RequestCancelExternalWorkflowExecutionInitiatedEventAttributes |
withWorkflowId(java.lang.String workflowId)
The
workflowId of the external workflow execution to be
canceled. |
private java.lang.String workflowId
The workflowId
of the external workflow execution to be
canceled.
private java.lang.String runId
The runId
of the external workflow execution to be canceled.
private java.lang.Long decisionTaskCompletedEventId
The ID of the DecisionTaskCompleted
event corresponding to
the decision task that resulted in the
RequestCancelExternalWorkflowExecution
decision for this
cancellation request. This information can be useful for diagnosing
problems by tracing back the chain of events leading up to this event.
private java.lang.String control
Optional. Data attached to the event that can be used by the decider in subsequent workflow tasks.
public RequestCancelExternalWorkflowExecutionInitiatedEventAttributes()
public void setWorkflowId(java.lang.String workflowId)
The workflowId
of the external workflow execution to be
canceled.
workflowId
- The workflowId
of the external workflow execution to
be canceled.public java.lang.String getWorkflowId()
The workflowId
of the external workflow execution to be
canceled.
workflowId
of the external workflow execution to
be canceled.public RequestCancelExternalWorkflowExecutionInitiatedEventAttributes withWorkflowId(java.lang.String workflowId)
The workflowId
of the external workflow execution to be
canceled.
workflowId
- The workflowId
of the external workflow execution to
be canceled.public void setRunId(java.lang.String runId)
The runId
of the external workflow execution to be canceled.
runId
- The runId
of the external workflow execution to be
canceled.public java.lang.String getRunId()
The runId
of the external workflow execution to be canceled.
runId
of the external workflow execution to be
canceled.public RequestCancelExternalWorkflowExecutionInitiatedEventAttributes withRunId(java.lang.String runId)
The runId
of the external workflow execution to be canceled.
runId
- The runId
of the external workflow execution to be
canceled.public void setDecisionTaskCompletedEventId(java.lang.Long decisionTaskCompletedEventId)
The ID of the DecisionTaskCompleted
event corresponding to
the decision task that resulted in the
RequestCancelExternalWorkflowExecution
decision for this
cancellation request. This information can be useful for diagnosing
problems by tracing back the chain of events leading up to this event.
decisionTaskCompletedEventId
- The ID of the DecisionTaskCompleted
event
corresponding to the decision task that resulted in the
RequestCancelExternalWorkflowExecution
decision for
this cancellation request. This information can be useful for
diagnosing problems by tracing back the chain of events leading up
to this event.public java.lang.Long getDecisionTaskCompletedEventId()
The ID of the DecisionTaskCompleted
event corresponding to
the decision task that resulted in the
RequestCancelExternalWorkflowExecution
decision for this
cancellation request. This information can be useful for diagnosing
problems by tracing back the chain of events leading up to this event.
DecisionTaskCompleted
event
corresponding to the decision task that resulted in the
RequestCancelExternalWorkflowExecution
decision for
this cancellation request. This information can be useful for
diagnosing problems by tracing back the chain of events leading
up to this event.public RequestCancelExternalWorkflowExecutionInitiatedEventAttributes withDecisionTaskCompletedEventId(java.lang.Long decisionTaskCompletedEventId)
The ID of the DecisionTaskCompleted
event corresponding to
the decision task that resulted in the
RequestCancelExternalWorkflowExecution
decision for this
cancellation request. This information can be useful for diagnosing
problems by tracing back the chain of events leading up to this event.
decisionTaskCompletedEventId
- The ID of the DecisionTaskCompleted
event
corresponding to the decision task that resulted in the
RequestCancelExternalWorkflowExecution
decision for
this cancellation request. This information can be useful for
diagnosing problems by tracing back the chain of events leading up
to this event.public void setControl(java.lang.String control)
Optional. Data attached to the event that can be used by the decider in subsequent workflow tasks.
control
- Optional.public java.lang.String getControl()
Optional. Data attached to the event that can be used by the decider in subsequent workflow tasks.
public RequestCancelExternalWorkflowExecutionInitiatedEventAttributes withControl(java.lang.String control)
Optional. Data attached to the event that can be used by the decider in subsequent workflow tasks.
control
- Optional.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 RequestCancelExternalWorkflowExecutionInitiatedEventAttributes clone()
clone
in class java.lang.Object