Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.simpleworkflow.model
Class RequestCancelExternalWorkflowExecutionFailedEventAttributes

java.lang.Object
  extended by com.amazonaws.services.simpleworkflow.model.RequestCancelExternalWorkflowExecutionFailedEventAttributes

public class RequestCancelExternalWorkflowExecutionFailedEventAttributes
extends Object

Provides details of the RequestCancelExternalWorkflowExecutionFailed event.


Constructor Summary
RequestCancelExternalWorkflowExecutionFailedEventAttributes()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getCause()
          The cause of the failure to process the decision.
 String getControl()
          Returns the value of the Control property for this object.
 Long getDecisionTaskCompletedEventId()
          The id of the DecisionTaskCompleted event corresponding to the decision task that resulted in the RequestCancelExternalWorkflowExecution decision for this cancellation request.
 Long getInitiatedEventId()
          The id of the RequestCancelExternalWorkflowExecutionInitiated event corresponding to the RequestCancelExternalWorkflowExecution decision to cancel this external workflow execution.
 String getRunId()
          The runId of the external workflow execution.
 String getWorkflowId()
          The workflowId of the external workflow to which the cancel request was to be delivered.
 int hashCode()
           
 void setCause(RequestCancelExternalWorkflowExecutionFailedCause cause)
          The cause of the failure to process the decision.
 void setCause(String cause)
          The cause of the failure to process the decision.
 void setControl(String control)
          Sets the value of the Control property for this object.
 void setDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
          The id of the DecisionTaskCompleted event corresponding to the decision task that resulted in the RequestCancelExternalWorkflowExecution decision for this cancellation request.
 void setInitiatedEventId(Long initiatedEventId)
          The id of the RequestCancelExternalWorkflowExecutionInitiated event corresponding to the RequestCancelExternalWorkflowExecution decision to cancel this external workflow execution.
 void setRunId(String runId)
          The runId of the external workflow execution.
 void setWorkflowId(String workflowId)
          The workflowId of the external workflow to which the cancel request was to be delivered.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 RequestCancelExternalWorkflowExecutionFailedEventAttributes withCause(RequestCancelExternalWorkflowExecutionFailedCause cause)
          The cause of the failure to process the decision.
 RequestCancelExternalWorkflowExecutionFailedEventAttributes withCause(String cause)
          The cause of the failure to process the decision.
 RequestCancelExternalWorkflowExecutionFailedEventAttributes withControl(String control)
          Sets the value of the Control property for this object.
 RequestCancelExternalWorkflowExecutionFailedEventAttributes withDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
          The id of the DecisionTaskCompleted event corresponding to the decision task that resulted in the RequestCancelExternalWorkflowExecution decision for this cancellation request.
 RequestCancelExternalWorkflowExecutionFailedEventAttributes withInitiatedEventId(Long initiatedEventId)
          The id of the RequestCancelExternalWorkflowExecutionInitiated event corresponding to the RequestCancelExternalWorkflowExecution decision to cancel this external workflow execution.
 RequestCancelExternalWorkflowExecutionFailedEventAttributes withRunId(String runId)
          The runId of the external workflow execution.
 RequestCancelExternalWorkflowExecutionFailedEventAttributes withWorkflowId(String workflowId)
          The workflowId of the external workflow to which the cancel request was to be delivered.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RequestCancelExternalWorkflowExecutionFailedEventAttributes

public RequestCancelExternalWorkflowExecutionFailedEventAttributes()
Method Detail

getWorkflowId

public String getWorkflowId()
The workflowId of the external workflow to which the cancel request was to be delivered.

Constraints:
Length: 1 - 256

Returns:
The workflowId of the external workflow to which the cancel request was to be delivered.

setWorkflowId

public void setWorkflowId(String workflowId)
The workflowId of the external workflow to which the cancel request was to be delivered.

Constraints:
Length: 1 - 256

Parameters:
workflowId - The workflowId of the external workflow to which the cancel request was to be delivered.

withWorkflowId

public RequestCancelExternalWorkflowExecutionFailedEventAttributes withWorkflowId(String workflowId)
The workflowId of the external workflow to which the cancel request was to be delivered.

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 to which the cancel request was to be delivered.
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.

Constraints:
Length: 0 - 64

Returns:
The runId of the external workflow execution.

setRunId

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

Constraints:
Length: 0 - 64

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

withRunId

public RequestCancelExternalWorkflowExecutionFailedEventAttributes withRunId(String runId)
The runId of the external workflow execution.

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.
Returns:
A reference to this updated object so that method calls can be chained together.

getCause

public String getCause()
The cause of the failure to process the decision. This information is generated by the system and can be useful for diagnostic purposes.

Constraints:
Allowed Values: UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION, REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED

Returns:
The cause of the failure to process the decision. This information is generated by the system and can be useful for diagnostic purposes.
See Also:
RequestCancelExternalWorkflowExecutionFailedCause

setCause

public void setCause(String cause)
The cause of the failure to process the decision. This information is generated by the system and can be useful for diagnostic purposes.

Constraints:
Allowed Values: UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION, REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED

Parameters:
cause - The cause of the failure to process the decision. This information is generated by the system and can be useful for diagnostic purposes.
See Also:
RequestCancelExternalWorkflowExecutionFailedCause

withCause

public RequestCancelExternalWorkflowExecutionFailedEventAttributes withCause(String cause)
The cause of the failure to process the decision. This information is generated by the system and can be useful for diagnostic purposes.

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

Constraints:
Allowed Values: UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION, REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED

Parameters:
cause - The cause of the failure to process the decision. This information is generated by the system and can be useful for diagnostic purposes.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
RequestCancelExternalWorkflowExecutionFailedCause

setCause

public void setCause(RequestCancelExternalWorkflowExecutionFailedCause cause)
The cause of the failure to process the decision. This information is generated by the system and can be useful for diagnostic purposes.

Constraints:
Allowed Values: UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION, REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED

Parameters:
cause - The cause of the failure to process the decision. This information is generated by the system and can be useful for diagnostic purposes.
See Also:
RequestCancelExternalWorkflowExecutionFailedCause

withCause

public RequestCancelExternalWorkflowExecutionFailedEventAttributes withCause(RequestCancelExternalWorkflowExecutionFailedCause cause)
The cause of the failure to process the decision. This information is generated by the system and can be useful for diagnostic purposes.

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

Constraints:
Allowed Values: UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION, REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED

Parameters:
cause - The cause of the failure to process the decision. This information is generated by the system and can be useful for diagnostic purposes.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
RequestCancelExternalWorkflowExecutionFailedCause

getInitiatedEventId

public Long getInitiatedEventId()
The id of the RequestCancelExternalWorkflowExecutionInitiated event corresponding to the RequestCancelExternalWorkflowExecution decision to cancel this external workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

Returns:
The id of the RequestCancelExternalWorkflowExecutionInitiated event corresponding to the RequestCancelExternalWorkflowExecution decision to cancel this external workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

setInitiatedEventId

public void setInitiatedEventId(Long initiatedEventId)
The id of the RequestCancelExternalWorkflowExecutionInitiated event corresponding to the RequestCancelExternalWorkflowExecution decision to cancel this external workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

Parameters:
initiatedEventId - The id of the RequestCancelExternalWorkflowExecutionInitiated event corresponding to the RequestCancelExternalWorkflowExecution decision to cancel this external workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

withInitiatedEventId

public RequestCancelExternalWorkflowExecutionFailedEventAttributes withInitiatedEventId(Long initiatedEventId)
The id of the RequestCancelExternalWorkflowExecutionInitiated event corresponding to the RequestCancelExternalWorkflowExecution decision to cancel this external workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

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

Parameters:
initiatedEventId - The id of the RequestCancelExternalWorkflowExecutionInitiated event corresponding to the RequestCancelExternalWorkflowExecution decision to cancel this external workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
Returns:
A reference to this updated object so that method calls can be chained together.

getDecisionTaskCompletedEventId

public Long getDecisionTaskCompletedEventId()
The id of the DecisionTaskCompleted event corresponding to the decision task that resulted in the RequestCancelExternalWorkflowExecution decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the cause of events.

Returns:
The id of the DecisionTaskCompleted event corresponding to the decision task that resulted in the RequestCancelExternalWorkflowExecution decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the cause of events.

setDecisionTaskCompletedEventId

public void setDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
The id of the DecisionTaskCompleted event corresponding to the decision task that resulted in the RequestCancelExternalWorkflowExecution decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the cause of events.

Parameters:
decisionTaskCompletedEventId - The id of the DecisionTaskCompleted event corresponding to the decision task that resulted in the RequestCancelExternalWorkflowExecution decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the cause of events.

withDecisionTaskCompletedEventId

public RequestCancelExternalWorkflowExecutionFailedEventAttributes withDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
The id of the DecisionTaskCompleted event corresponding to the decision task that resulted in the RequestCancelExternalWorkflowExecution decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the cause of events.

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

Parameters:
decisionTaskCompletedEventId - The id of the DecisionTaskCompleted event corresponding to the decision task that resulted in the RequestCancelExternalWorkflowExecution decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the cause of events.
Returns:
A reference to this updated object so that method calls can be chained together.

getControl

public String getControl()
Returns the value of the Control property for this object.

Constraints:
Length: 0 - 32768

Returns:
The value of the Control property for this object.

setControl

public void setControl(String control)
Sets the value of the Control property for this object.

Constraints:
Length: 0 - 32768

Parameters:
control - The new value for the Control property for this object.

withControl

public RequestCancelExternalWorkflowExecutionFailedEventAttributes withControl(String control)
Sets the value of the Control property for this object.

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

Constraints:
Length: 0 - 32768

Parameters:
control - The new value for the Control property for this object.
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.