|
Did this page help you?Yes No Tell us about it... |
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.simpleworkflow.model.RequestCancelWorkflowExecutionRequest
public class RequestCancelWorkflowExecutionRequest
Container for the parameters to the RequestCancelWorkflowExecution operation.
Records a WorkflowExecutionCancelRequested event in the currently running workflow execution identified by the given domain, workflowId,
and runId. This logically requests the cancellation of the workflow execution as a whole. It is up to the decider to take appropriate actions when it
receives an execution history with this event.
NOTE: If the runId is not specified, the WorkflowExecutionCancelRequested event is recorded in the history of the current open workflow execution with the specified workflowId in the domain.
NOTE: Because this action allows the workflow to properly clean up and gracefully close, it should be used instead of TerminateWorkflowExecution when possible.
AmazonSimpleWorkflow.requestCancelWorkflowExecution(RequestCancelWorkflowExecutionRequest)| Constructor Summary | |
|---|---|
RequestCancelWorkflowExecutionRequest()
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getDomain()
The name of the domain containing the workflow execution to cancel. |
java.lang.String |
getRunId()
The runId of the workflow execution to cancel. |
java.lang.String |
getWorkflowId()
The workflowId of the workflow execution to cancel. |
int |
hashCode()
|
void |
setDomain(java.lang.String domain)
The name of the domain containing the workflow execution to cancel. |
void |
setRunId(java.lang.String runId)
The runId of the workflow execution to cancel. |
void |
setWorkflowId(java.lang.String workflowId)
The workflowId of the workflow execution to cancel. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
RequestCancelWorkflowExecutionRequest |
withDomain(java.lang.String domain)
The name of the domain containing the workflow execution to cancel. |
RequestCancelWorkflowExecutionRequest |
withRunId(java.lang.String runId)
The runId of the workflow execution to cancel. |
RequestCancelWorkflowExecutionRequest |
withWorkflowId(java.lang.String workflowId)
The workflowId of the workflow execution to cancel. |
| Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
|---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RequestCancelWorkflowExecutionRequest()
| Method Detail |
|---|
public java.lang.String getDomain()
Constraints:
Length: 1 - 256
public void setDomain(java.lang.String domain)
Constraints:
Length: 1 - 256
domain - The name of the domain containing the workflow execution to cancel.public RequestCancelWorkflowExecutionRequest withDomain(java.lang.String domain)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
domain - The name of the domain containing the workflow execution to cancel.
public java.lang.String getWorkflowId()
Constraints:
Length: 1 - 256
public void setWorkflowId(java.lang.String workflowId)
Constraints:
Length: 1 - 256
workflowId - The workflowId of the workflow execution to cancel.public RequestCancelWorkflowExecutionRequest withWorkflowId(java.lang.String workflowId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
workflowId - The workflowId of the workflow execution to cancel.
public java.lang.String getRunId()
Constraints:
Length: 0 - 64
public void setRunId(java.lang.String runId)
Constraints:
Length: 0 - 64
runId - The runId of the workflow execution to cancel.public RequestCancelWorkflowExecutionRequest withRunId(java.lang.String runId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 64
runId - The runId of the workflow execution to cancel.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||