|
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.SignalWorkflowExecutionRequest
public class SignalWorkflowExecutionRequest
Container for the parameters to the SignalWorkflowExecution operation
.
Records a WorkflowExecutionSignaled
event in the workflow execution history and creates a decision task for the workflow execution
identified by the given domain, workflowId and runId. The event is recorded with the specified user defined signalName and input (if provided).
NOTE: If a runId is not specified, then the WorkflowExecutionSignaled event is recorded in the history of the current open workflow with the matching workflowId in the domain.
NOTE: If the specified workflow execution is not open, this method fails with UnknownResource.
Access Control
You can use IAM policies to control this action's access to Amazon SWF resources as follows:
Resource
element with the domain name to limit the action to only specified domains.Action
element to allow or deny permission to call this action.
If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action
fails by throwing OperationNotPermitted
. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows .
AmazonSimpleWorkflow.signalWorkflowExecution(SignalWorkflowExecutionRequest)
,
Serialized FormConstructor Summary | |
---|---|
SignalWorkflowExecutionRequest()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getDomain()
The name of the domain containing the workflow execution to signal. |
String |
getInput()
Data to attach to the WorkflowExecutionSignaled event in
the target workflow execution's history. |
String |
getRunId()
The runId of the workflow execution to signal. |
String |
getSignalName()
The name of the signal. |
String |
getWorkflowId()
The workflowId of the workflow execution to signal. |
int |
hashCode()
|
void |
setDomain(String domain)
The name of the domain containing the workflow execution to signal. |
void |
setInput(String input)
Data to attach to the WorkflowExecutionSignaled event in
the target workflow execution's history. |
void |
setRunId(String runId)
The runId of the workflow execution to signal. |
void |
setSignalName(String signalName)
The name of the signal. |
void |
setWorkflowId(String workflowId)
The workflowId of the workflow execution to signal. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
SignalWorkflowExecutionRequest |
withDomain(String domain)
The name of the domain containing the workflow execution to signal. |
SignalWorkflowExecutionRequest |
withInput(String input)
Data to attach to the WorkflowExecutionSignaled event in
the target workflow execution's history. |
SignalWorkflowExecutionRequest |
withRunId(String runId)
The runId of the workflow execution to signal. |
SignalWorkflowExecutionRequest |
withSignalName(String signalName)
The name of the signal. |
SignalWorkflowExecutionRequest |
withWorkflowId(String workflowId)
The workflowId of the workflow execution to signal. |
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 SignalWorkflowExecutionRequest()
Method Detail |
---|
public String getDomain()
Constraints:
Length: 1 - 256
public void setDomain(String domain)
Constraints:
Length: 1 - 256
domain
- The name of the domain containing the workflow execution to signal.public SignalWorkflowExecutionRequest withDomain(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 signal.
public String getWorkflowId()
Constraints:
Length: 1 - 256
public void setWorkflowId(String workflowId)
Constraints:
Length: 1 - 256
workflowId
- The workflowId of the workflow execution to signal.public SignalWorkflowExecutionRequest withWorkflowId(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 signal.
public String getRunId()
Constraints:
Length: 0 - 64
public void setRunId(String runId)
Constraints:
Length: 0 - 64
runId
- The runId of the workflow execution to signal.public SignalWorkflowExecutionRequest withRunId(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 signal.
public String getSignalName()
Constraints:
Length: 1 - 256
public void setSignalName(String signalName)
Constraints:
Length: 1 - 256
signalName
- The name of the signal. This name must be meaningful to the target
workflow.public SignalWorkflowExecutionRequest withSignalName(String signalName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
signalName
- The name of the signal. This name must be meaningful to the target
workflow.
public String getInput()
WorkflowExecutionSignaled
event in
the target workflow execution's history.
Constraints:
Length: 0 - 32768
WorkflowExecutionSignaled
event in
the target workflow execution's history.public void setInput(String input)
WorkflowExecutionSignaled
event in
the target workflow execution's history.
Constraints:
Length: 0 - 32768
input
- Data to attach to the WorkflowExecutionSignaled
event in
the target workflow execution's history.public SignalWorkflowExecutionRequest withInput(String input)
WorkflowExecutionSignaled
event in
the target workflow execution's history.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 32768
input
- Data to attach to the WorkflowExecutionSignaled
event in
the target workflow execution's history.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |