Class CancelWorkflowExecutionDecisionAttributes
- java.lang.Object
-
- software.amazon.awssdk.services.swf.model.CancelWorkflowExecutionDecisionAttributes
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<CancelWorkflowExecutionDecisionAttributes.Builder,CancelWorkflowExecutionDecisionAttributes>
@Generated("software.amazon.awssdk:codegen") public final class CancelWorkflowExecutionDecisionAttributes extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CancelWorkflowExecutionDecisionAttributes.Builder,CancelWorkflowExecutionDecisionAttributes>
Provides the details of the
CancelWorkflowExecution
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
CancelWorkflowExecutionDecisionAttributes.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CancelWorkflowExecutionDecisionAttributes.Builder
builder()
String
details()
Details of the cancellation.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends CancelWorkflowExecutionDecisionAttributes.Builder>
serializableBuilderClass()
CancelWorkflowExecutionDecisionAttributes.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
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
-
details
public final String details()
Details of the cancellation.
- Returns:
- Details of the cancellation.
-
toBuilder
public CancelWorkflowExecutionDecisionAttributes.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<CancelWorkflowExecutionDecisionAttributes.Builder,CancelWorkflowExecutionDecisionAttributes>
-
builder
public static CancelWorkflowExecutionDecisionAttributes.Builder builder()
-
serializableBuilderClass
public static Class<? extends CancelWorkflowExecutionDecisionAttributes.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-