Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.simpleworkflow.model
Class CancelWorkflowExecutionDecisionAttributes

java.lang.Object
  extended by com.amazonaws.services.simpleworkflow.model.CancelWorkflowExecutionDecisionAttributes
All Implemented Interfaces:
java.io.Serializable

public class CancelWorkflowExecutionDecisionAttributes
extends java.lang.Object
implements java.io.Serializable

Provides details of the CancelWorkflowExecution decision.

Access Control

You can use IAM policies to control this decision's access to Amazon SWF in much the same way as for the regular API:

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 .

See Also:
Serialized Form

Constructor Summary
CancelWorkflowExecutionDecisionAttributes()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getDetails()
          Optional details of the cancellation.
 int hashCode()
           
 void setDetails(java.lang.String details)
          Optional details of the cancellation.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 CancelWorkflowExecutionDecisionAttributes withDetails(java.lang.String details)
          Optional details of the cancellation.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CancelWorkflowExecutionDecisionAttributes

public CancelWorkflowExecutionDecisionAttributes()
Method Detail

getDetails

public java.lang.String getDetails()
Optional details of the cancellation.

Constraints:
Length: 0 - 32768

Returns:
Optional details of the cancellation.

setDetails

public void setDetails(java.lang.String details)
Optional details of the cancellation.

Constraints:
Length: 0 - 32768

Parameters:
details - Optional details of the cancellation.

withDetails

public CancelWorkflowExecutionDecisionAttributes withDetails(java.lang.String details)
Optional details of the cancellation.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 0 - 32768

Parameters:
details - Optional details of the cancellation.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.