Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.simpleworkflow.model
Class RequestCancelExternalWorkflowExecutionDecisionAttributes

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

public class RequestCancelExternalWorkflowExecutionDecisionAttributes
extends Object
implements Serializable

Provides details of the RequestCancelExternalWorkflowExecution 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
RequestCancelExternalWorkflowExecutionDecisionAttributes()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getControl()
          Optional data attached to the event that can be used by the decider in subsequent workflow tasks.
 String getRunId()
          The runId of the external workflow execution to cancel.
 String getWorkflowId()
          The workflowId of the external workflow execution to cancel.
 int hashCode()
           
 void setControl(String control)
          Optional data attached to the event that can be used by the decider in subsequent workflow tasks.
 void setRunId(String runId)
          The runId of the external workflow execution to cancel.
 void setWorkflowId(String workflowId)
          The workflowId of the external workflow execution to cancel.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 RequestCancelExternalWorkflowExecutionDecisionAttributes withControl(String control)
          Optional data attached to the event that can be used by the decider in subsequent workflow tasks.
 RequestCancelExternalWorkflowExecutionDecisionAttributes withRunId(String runId)
          The runId of the external workflow execution to cancel.
 RequestCancelExternalWorkflowExecutionDecisionAttributes withWorkflowId(String workflowId)
          The workflowId of the external workflow execution to cancel.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RequestCancelExternalWorkflowExecutionDecisionAttributes

public RequestCancelExternalWorkflowExecutionDecisionAttributes()
Method Detail

getWorkflowId

public String getWorkflowId()
The workflowId of the external workflow execution to cancel. This field is required.

Constraints:
Length: 1 - 256

Returns:
The workflowId of the external workflow execution to cancel. This field is required.

setWorkflowId

public void setWorkflowId(String workflowId)
The workflowId of the external workflow execution to cancel. This field is required.

Constraints:
Length: 1 - 256

Parameters:
workflowId - The workflowId of the external workflow execution to cancel. This field is required.

withWorkflowId

public RequestCancelExternalWorkflowExecutionDecisionAttributes withWorkflowId(String workflowId)
The workflowId of the external workflow execution to cancel. This field is required.

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

Constraints:
Length: 1 - 256

Parameters:
workflowId - The workflowId of the external workflow execution to cancel. This field is required.
Returns:
A reference to this updated object so that method calls can be chained together.

getRunId

public String getRunId()
The runId of the external workflow execution to cancel.

Constraints:
Length: 0 - 64

Returns:
The runId of the external workflow execution to cancel.

setRunId

public void setRunId(String runId)
The runId of the external workflow execution to cancel.

Constraints:
Length: 0 - 64

Parameters:
runId - The runId of the external workflow execution to cancel.

withRunId

public RequestCancelExternalWorkflowExecutionDecisionAttributes withRunId(String runId)
The runId of the external workflow execution to cancel.

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

Constraints:
Length: 0 - 64

Parameters:
runId - The runId of the external workflow execution to cancel.
Returns:
A reference to this updated object so that method calls can be chained together.

getControl

public String getControl()
Optional data attached to the event that can be used by the decider in subsequent workflow tasks.

Constraints:
Length: 0 - 32768

Returns:
Optional data attached to the event that can be used by the decider in subsequent workflow tasks.

setControl

public void setControl(String control)
Optional data attached to the event that can be used by the decider in subsequent workflow tasks.

Constraints:
Length: 0 - 32768

Parameters:
control - Optional data attached to the event that can be used by the decider in subsequent workflow tasks.

withControl

public RequestCancelExternalWorkflowExecutionDecisionAttributes withControl(String control)
Optional data attached to the event that can be used by the decider in subsequent workflow tasks.

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

Constraints:
Length: 0 - 32768

Parameters:
control - Optional data attached to the event that can be used by the decider in subsequent workflow tasks.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

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

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


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