public class SignalExternalWorkflowExecutionDecisionAttributes
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Provides details of the SignalExternalWorkflowExecution
decision.
Access Control
You can use IAM policies to control this decision'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. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.
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 decision tasks.
|
private java.lang.String |
input
Optional. Input data to be provided with the signal.
|
private java.lang.String |
runId
The
runId of the workflow execution to be signaled. |
private java.lang.String |
signalName
Required. The name of the signal.The target workflow execution
will use the signal name and input to process the signal.
|
private java.lang.String |
workflowId
Required. The
workflowId of the workflow execution to
be signaled. |
Constructor and Description |
---|
SignalExternalWorkflowExecutionDecisionAttributes() |
Modifier and Type | Method and Description |
---|---|
SignalExternalWorkflowExecutionDecisionAttributes |
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 decision tasks.
|
java.lang.String |
getInput()
Optional. Input data to be provided with the signal.
|
java.lang.String |
getRunId()
The
runId of the workflow execution to be signaled. |
java.lang.String |
getSignalName()
Required. The name of the signal.The target workflow execution
will use the signal name and input to process the signal.
|
java.lang.String |
getWorkflowId()
Required. The
workflowId of the workflow execution to
be signaled. |
int |
hashCode() |
void |
setControl(java.lang.String control)
Optional. Data attached to the event that can be used by the
decider in subsequent decision tasks.
|
void |
setInput(java.lang.String input)
Optional. Input data to be provided with the signal.
|
void |
setRunId(java.lang.String runId)
The
runId of the workflow execution to be signaled. |
void |
setSignalName(java.lang.String signalName)
Required. The name of the signal.The target workflow execution
will use the signal name and input to process the signal.
|
void |
setWorkflowId(java.lang.String workflowId)
Required. The
workflowId of the workflow execution to
be signaled. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SignalExternalWorkflowExecutionDecisionAttributes |
withControl(java.lang.String control)
Optional. Data attached to the event that can be used by the
decider in subsequent decision tasks.
|
SignalExternalWorkflowExecutionDecisionAttributes |
withInput(java.lang.String input)
Optional. Input data to be provided with the signal.
|
SignalExternalWorkflowExecutionDecisionAttributes |
withRunId(java.lang.String runId)
The
runId of the workflow execution to be signaled. |
SignalExternalWorkflowExecutionDecisionAttributes |
withSignalName(java.lang.String signalName)
Required. The name of the signal.The target workflow execution
will use the signal name and input to process the signal.
|
SignalExternalWorkflowExecutionDecisionAttributes |
withWorkflowId(java.lang.String workflowId)
Required. The
workflowId of the workflow execution to
be signaled. |
private java.lang.String workflowId
Required. The workflowId
of the workflow execution to
be signaled.
private java.lang.String runId
The runId
of the workflow execution to be signaled.
private java.lang.String signalName
Required. The name of the signal.The target workflow execution will use the signal name and input to process the signal.
private java.lang.String input
Optional. Input data to be provided with the signal. The target workflow execution will use the signal name and input data to process the signal.
private java.lang.String control
Optional. Data attached to the event that can be used by the decider in subsequent decision tasks.
public SignalExternalWorkflowExecutionDecisionAttributes()
public void setWorkflowId(java.lang.String workflowId)
Required. The workflowId
of the workflow execution to
be signaled.
workflowId
- Required. The workflowId
public java.lang.String getWorkflowId()
Required. The workflowId
of the workflow execution to
be signaled.
workflowId
public SignalExternalWorkflowExecutionDecisionAttributes withWorkflowId(java.lang.String workflowId)
Required. The workflowId
of the workflow execution to
be signaled.
workflowId
- Required. The workflowId
public void setRunId(java.lang.String runId)
The runId
of the workflow execution to be signaled.
runId
- The runId
of the workflow execution to be signaled.public java.lang.String getRunId()
The runId
of the workflow execution to be signaled.
runId
of the workflow execution to be signaled.public SignalExternalWorkflowExecutionDecisionAttributes withRunId(java.lang.String runId)
The runId
of the workflow execution to be signaled.
runId
- The runId
of the workflow execution to be signaled.public void setSignalName(java.lang.String signalName)
Required. The name of the signal.The target workflow execution will use the signal name and input to process the signal.
signalName
- Required.public java.lang.String getSignalName()
Required. The name of the signal.The target workflow execution will use the signal name and input to process the signal.
public SignalExternalWorkflowExecutionDecisionAttributes withSignalName(java.lang.String signalName)
Required. The name of the signal.The target workflow execution will use the signal name and input to process the signal.
signalName
- Required.public void setInput(java.lang.String input)
Optional. Input data to be provided with the signal. The target workflow execution will use the signal name and input data to process the signal.
input
- Optional.public java.lang.String getInput()
Optional. Input data to be provided with the signal. The target workflow execution will use the signal name and input data to process the signal.
public SignalExternalWorkflowExecutionDecisionAttributes withInput(java.lang.String input)
Optional. Input data to be provided with the signal. The target workflow execution will use the signal name and input data to process the signal.
input
- Optional.public void setControl(java.lang.String control)
Optional. Data attached to the event that can be used by the decider in subsequent decision tasks.
control
- Optional.public java.lang.String getControl()
Optional. Data attached to the event that can be used by the decider in subsequent decision tasks.
public SignalExternalWorkflowExecutionDecisionAttributes withControl(java.lang.String control)
Optional. Data attached to the event that can be used by the decider in subsequent decision 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 SignalExternalWorkflowExecutionDecisionAttributes clone()
clone
in class java.lang.Object