public class RequestCancelExternalWorkflowExecutionFailedEventAttributes
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Provides details of the
RequestCancelExternalWorkflowExecutionFailed
event.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
cause
The cause of the failure.
|
private java.lang.String |
control |
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.Long |
initiatedEventId
The ID of the
RequestCancelExternalWorkflowExecutionInitiated event
corresponding to the RequestCancelExternalWorkflowExecution
decision to cancel this external workflow execution. |
private java.lang.String |
runId
The
runId of the external workflow execution. |
private java.lang.String |
workflowId
The
workflowId of the external workflow to which the cancel
request was to be delivered. |
Constructor and Description |
---|
RequestCancelExternalWorkflowExecutionFailedEventAttributes() |
Modifier and Type | Method and Description |
---|---|
RequestCancelExternalWorkflowExecutionFailedEventAttributes |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCause()
The cause of the failure.
|
java.lang.String |
getControl() |
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.Long |
getInitiatedEventId()
The ID of the
RequestCancelExternalWorkflowExecutionInitiated event
corresponding to the RequestCancelExternalWorkflowExecution
decision to cancel this external workflow execution. |
java.lang.String |
getRunId()
The
runId of the external workflow execution. |
java.lang.String |
getWorkflowId()
The
workflowId of the external workflow to which the cancel
request was to be delivered. |
int |
hashCode() |
void |
setCause(RequestCancelExternalWorkflowExecutionFailedCause cause)
The cause of the failure.
|
void |
setCause(java.lang.String cause)
The cause of the failure.
|
void |
setControl(java.lang.String control) |
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 |
setInitiatedEventId(java.lang.Long initiatedEventId)
The ID of the
RequestCancelExternalWorkflowExecutionInitiated event
corresponding to the RequestCancelExternalWorkflowExecution
decision to cancel this external workflow execution. |
void |
setRunId(java.lang.String runId)
The
runId of the external workflow execution. |
void |
setWorkflowId(java.lang.String workflowId)
The
workflowId of the external workflow to which the cancel
request was to be delivered. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RequestCancelExternalWorkflowExecutionFailedEventAttributes |
withCause(RequestCancelExternalWorkflowExecutionFailedCause cause)
The cause of the failure.
|
RequestCancelExternalWorkflowExecutionFailedEventAttributes |
withCause(java.lang.String cause)
The cause of the failure.
|
RequestCancelExternalWorkflowExecutionFailedEventAttributes |
withControl(java.lang.String control) |
RequestCancelExternalWorkflowExecutionFailedEventAttributes |
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. |
RequestCancelExternalWorkflowExecutionFailedEventAttributes |
withInitiatedEventId(java.lang.Long initiatedEventId)
The ID of the
RequestCancelExternalWorkflowExecutionInitiated event
corresponding to the RequestCancelExternalWorkflowExecution
decision to cancel this external workflow execution. |
RequestCancelExternalWorkflowExecutionFailedEventAttributes |
withRunId(java.lang.String runId)
The
runId of the external workflow execution. |
RequestCancelExternalWorkflowExecutionFailedEventAttributes |
withWorkflowId(java.lang.String workflowId)
The
workflowId of the external workflow to which the cancel
request was to be delivered. |
private java.lang.String workflowId
The workflowId
of the external workflow to which the cancel
request was to be delivered.
private java.lang.String runId
The runId
of the external workflow execution.
private java.lang.String cause
The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.
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.
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
public RequestCancelExternalWorkflowExecutionFailedEventAttributes()
public void setWorkflowId(java.lang.String workflowId)
The workflowId
of the external workflow to which the cancel
request was to be delivered.
workflowId
- The workflowId
of the external workflow to which the
cancel request was to be delivered.public java.lang.String getWorkflowId()
The workflowId
of the external workflow to which the cancel
request was to be delivered.
workflowId
of the external workflow to which the
cancel request was to be delivered.public RequestCancelExternalWorkflowExecutionFailedEventAttributes withWorkflowId(java.lang.String workflowId)
The workflowId
of the external workflow to which the cancel
request was to be delivered.
workflowId
- The workflowId
of the external workflow to which the
cancel request was to be delivered.public void setRunId(java.lang.String runId)
The runId
of the external workflow execution.
runId
- The runId
of the external workflow execution.public java.lang.String getRunId()
The runId
of the external workflow execution.
runId
of the external workflow execution.public RequestCancelExternalWorkflowExecutionFailedEventAttributes withRunId(java.lang.String runId)
The runId
of the external workflow execution.
runId
- The runId
of the external workflow execution.public void setCause(java.lang.String cause)
The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.
cause
- The cause of the failure. This information is generated by the
system and can be useful for diagnostic purposes. RequestCancelExternalWorkflowExecutionFailedCause
public java.lang.String getCause()
The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.
RequestCancelExternalWorkflowExecutionFailedCause
public RequestCancelExternalWorkflowExecutionFailedEventAttributes withCause(java.lang.String cause)
The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.
cause
- The cause of the failure. This information is generated by the
system and can be useful for diagnostic purposes. RequestCancelExternalWorkflowExecutionFailedCause
public void setCause(RequestCancelExternalWorkflowExecutionFailedCause cause)
The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.
cause
- The cause of the failure. This information is generated by the
system and can be useful for diagnostic purposes. RequestCancelExternalWorkflowExecutionFailedCause
public RequestCancelExternalWorkflowExecutionFailedEventAttributes withCause(RequestCancelExternalWorkflowExecutionFailedCause cause)
The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.
cause
- The cause of the failure. This information is generated by the
system and can be useful for diagnostic purposes. RequestCancelExternalWorkflowExecutionFailedCause
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 RequestCancelExternalWorkflowExecutionFailedEventAttributes 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 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 RequestCancelExternalWorkflowExecutionFailedEventAttributes 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)
control
- public java.lang.String getControl()
public RequestCancelExternalWorkflowExecutionFailedEventAttributes withControl(java.lang.String control)
control
- 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 RequestCancelExternalWorkflowExecutionFailedEventAttributes clone()
clone
in class java.lang.Object