Class RequestCancelExternalWorkflowExecutionDecisionAttributes
- java.lang.Object
-
- software.amazon.awssdk.services.swf.model.RequestCancelExternalWorkflowExecutionDecisionAttributes
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RequestCancelExternalWorkflowExecutionDecisionAttributes.Builder,RequestCancelExternalWorkflowExecutionDecisionAttributes>
@Generated("software.amazon.awssdk:codegen") public final class RequestCancelExternalWorkflowExecutionDecisionAttributes extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RequestCancelExternalWorkflowExecutionDecisionAttributes.Builder,RequestCancelExternalWorkflowExecutionDecisionAttributes>
Provides the details of the
RequestCancelExternalWorkflowExecutiondecision.Access Control
You can use IAM policies to control this decision's access to Amazon SWF resources as follows:
-
Use a
Resourceelement with the domain name to limit the action to only specified domains. -
Use an
Actionelement 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
causeparameter 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 interfaceRequestCancelExternalWorkflowExecutionDecisionAttributes.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RequestCancelExternalWorkflowExecutionDecisionAttributes.Builderbuilder()Stringcontrol()The data attached to the event that can be used by the decider in subsequent workflow tasks.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringrunId()TherunIdof the external workflow execution to cancel.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends RequestCancelExternalWorkflowExecutionDecisionAttributes.Builder>serializableBuilderClass()RequestCancelExternalWorkflowExecutionDecisionAttributes.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringworkflowId()TheworkflowIdof the external workflow execution to cancel.-
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
workflowIdof the external workflow execution to cancel.- Returns:
- The
workflowIdof the external workflow execution to cancel.
-
runId
public final String runId()
The
runIdof the external workflow execution to cancel.- Returns:
- The
runIdof the external workflow execution to cancel.
-
control
public final String control()
The data attached to the event that can be used by the decider in subsequent workflow tasks.
- Returns:
- The data attached to the event that can be used by the decider in subsequent workflow tasks.
-
toBuilder
public RequestCancelExternalWorkflowExecutionDecisionAttributes.Builder toBuilder()
-
builder
public static RequestCancelExternalWorkflowExecutionDecisionAttributes.Builder builder()
-
serializableBuilderClass
public static Class<? extends RequestCancelExternalWorkflowExecutionDecisionAttributes.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-