Class RequestCancelExternalWorkflowExecutionDecisionAttributes
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RequestCancelExternalWorkflowExecutionDecisionAttributes.Builder,RequestCancelExternalWorkflowExecutionDecisionAttributes>
Provides the details of the RequestCancelExternalWorkflowExecution decision.
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 cause parameter is set to
OPERATION_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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final Stringcontrol()The data attached to the event that can be used by the decider in subsequent workflow tasks.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringrunId()TherunIdof the external workflow execution to cancel.static Class<? extends RequestCancelExternalWorkflowExecutionDecisionAttributes.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final StringTheworkflowIdof the external workflow execution to cancel.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
workflowId
The
workflowIdof the external workflow execution to cancel.- Returns:
- The
workflowIdof the external workflow execution to cancel.
-
runId
The
runIdof the external workflow execution to cancel.- Returns:
- The
runIdof the external workflow execution to cancel.
-
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
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<RequestCancelExternalWorkflowExecutionDecisionAttributes.Builder,RequestCancelExternalWorkflowExecutionDecisionAttributes> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
public static Class<? extends RequestCancelExternalWorkflowExecutionDecisionAttributes.Builder> serializableBuilderClass() -
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-