Class SignalExternalWorkflowExecutionDecisionAttributes
- java.lang.Object
-
- software.amazon.awssdk.services.swf.model.SignalExternalWorkflowExecutionDecisionAttributes
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<SignalExternalWorkflowExecutionDecisionAttributes.Builder,SignalExternalWorkflowExecutionDecisionAttributes>
@Generated("software.amazon.awssdk:codegen") public final class SignalExternalWorkflowExecutionDecisionAttributes extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SignalExternalWorkflowExecutionDecisionAttributes.Builder,SignalExternalWorkflowExecutionDecisionAttributes>
Provides the details of the
SignalExternalWorkflowExecution
decision.Access Control
You can use IAM policies to control this decision's access to Amazon SWF resources as follows:
-
Use a
Resource
element with the domain name to limit the action to only specified domains. -
Use an
Action
element to allow or deny permission to call this action. -
You cannot use an IAM policy to constrain this action's parameters.
If the caller doesn't 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 is set toOPERATION_NOT_PERMITTED
. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
SignalExternalWorkflowExecutionDecisionAttributes.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SignalExternalWorkflowExecutionDecisionAttributes.Builder
builder()
String
control()
The data attached to the event that can be used by the decider in subsequent decision tasks.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
input()
The input data to be provided with the signal.String
runId()
TherunId
of the workflow execution to be signaled.List<SdkField<?>>
sdkFields()
static Class<? extends SignalExternalWorkflowExecutionDecisionAttributes.Builder>
serializableBuilderClass()
String
signalName()
The name of the signal.The target workflow execution uses the signal name and input to process the signal.SignalExternalWorkflowExecutionDecisionAttributes.Builder
toBuilder()
String
toString()
Returns a string representation of this object.String
workflowId()
TheworkflowId
of the workflow execution to be signaled.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
workflowId
public final String workflowId()
The
workflowId
of the workflow execution to be signaled.- Returns:
- The
workflowId
of the workflow execution to be signaled.
-
runId
public final String runId()
The
runId
of the workflow execution to be signaled.- Returns:
- The
runId
of the workflow execution to be signaled.
-
signalName
public final String signalName()
The name of the signal.The target workflow execution uses the signal name and input to process the signal.
- Returns:
- The name of the signal.The target workflow execution uses the signal name and input to process the signal.
-
input
public final String input()
The input data to be provided with the signal. The target workflow execution uses the signal name and input data to process the signal.
- Returns:
- The input data to be provided with the signal. The target workflow execution uses the signal name and input data to process the signal.
-
control
public final String control()
The data attached to the event that can be used by the decider in subsequent decision tasks.
- Returns:
- The data attached to the event that can be used by the decider in subsequent decision tasks.
-
toBuilder
public SignalExternalWorkflowExecutionDecisionAttributes.Builder toBuilder()
-
builder
public static SignalExternalWorkflowExecutionDecisionAttributes.Builder builder()
-
serializableBuilderClass
public static Class<? extends SignalExternalWorkflowExecutionDecisionAttributes.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-