public class RequestCancelExternalWorkflowExecutionInitiatedEventAttributes extends Object implements Serializable
Provides details of the
RequestCancelExternalWorkflowExecutionInitiated
event.
Constructor and Description |
---|
RequestCancelExternalWorkflowExecutionInitiatedEventAttributes() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getControl()
Optional data attached to the event that can be used by the decider in
subsequent workflow tasks.
|
Long |
getDecisionTaskCompletedEventId()
The id of the
DecisionTaskCompleted event corresponding
to the decision task that resulted in the
RequestCancelExternalWorkflowExecution decision for this
cancellation request. |
String |
getRunId()
The
runId of the external workflow execution to be
canceled. |
String |
getWorkflowId()
The
workflowId of the external workflow execution to be
canceled. |
int |
hashCode() |
void |
setControl(String control)
Optional data attached to the event that can be used by the decider in
subsequent workflow tasks.
|
void |
setDecisionTaskCompletedEventId(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(String runId)
The
runId of the external workflow execution to be
canceled. |
void |
setWorkflowId(String workflowId)
The
workflowId of the external workflow execution to be
canceled. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RequestCancelExternalWorkflowExecutionInitiatedEventAttributes |
withControl(String control)
Optional data attached to the event that can be used by the decider in
subsequent workflow tasks.
|
RequestCancelExternalWorkflowExecutionInitiatedEventAttributes |
withDecisionTaskCompletedEventId(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(String runId)
The
runId of the external workflow execution to be
canceled. |
RequestCancelExternalWorkflowExecutionInitiatedEventAttributes |
withWorkflowId(String workflowId)
The
workflowId of the external workflow execution to be
canceled. |
public RequestCancelExternalWorkflowExecutionInitiatedEventAttributes()
public String getWorkflowId()
workflowId
of the external workflow execution to be
canceled.
Constraints:
Length: 1 - 256
workflowId
of the external workflow execution to be
canceled.public void setWorkflowId(String workflowId)
workflowId
of the external workflow execution to be
canceled.
Constraints:
Length: 1 - 256
workflowId
- The workflowId
of the external workflow execution to be
canceled.public RequestCancelExternalWorkflowExecutionInitiatedEventAttributes withWorkflowId(String workflowId)
workflowId
of the external workflow execution to be
canceled.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
workflowId
- The workflowId
of the external workflow execution to be
canceled.public String getRunId()
runId
of the external workflow execution to be
canceled.
Constraints:
Length: 0 - 64
runId
of the external workflow execution to be
canceled.public void setRunId(String runId)
runId
of the external workflow execution to be
canceled.
Constraints:
Length: 0 - 64
runId
- The runId
of the external workflow execution to be
canceled.public RequestCancelExternalWorkflowExecutionInitiatedEventAttributes withRunId(String runId)
runId
of the external workflow execution to be
canceled.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 64
runId
- The runId
of the external workflow execution to be
canceled.public Long getDecisionTaskCompletedEventId()
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 cause of events.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 cause of events.public void setDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
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 cause of events.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 cause of events.public RequestCancelExternalWorkflowExecutionInitiatedEventAttributes withDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
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 cause of events.
Returns a reference to this object so that method calls can be chained together.
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 cause of events.public String getControl()
Constraints:
Length: 0 - 32768
public void setControl(String control)
Constraints:
Length: 0 - 32768
control
- Optional data attached to the event that can be used by the decider in
subsequent workflow tasks.public RequestCancelExternalWorkflowExecutionInitiatedEventAttributes withControl(String control)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 32768
control
- Optional data attached to the event that can be used by the decider in
subsequent workflow tasks.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.