Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.simpleworkflow.model
Class WorkflowExecutionCancelRequestedEventAttributes

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

public class WorkflowExecutionCancelRequestedEventAttributes
extends Object

Provides details of the WorkflowExecutionCancelRequested event.


Constructor Summary
WorkflowExecutionCancelRequestedEventAttributes()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getCause()
          If set, indicates that the request to cancel the workflow execution was automatically generated, and specifies the cause.
 Long getExternalInitiatedEventId()
          The id of the RequestCancelExternalWorkflowExecutionInitiated event corresponding to the RequestCancelExternalWorkflowExecution decision to cancel this workflow execution.The source event with this Id can be found in the history of the source workflow execution.
 WorkflowExecution getExternalWorkflowExecution()
          The external workflow execution for which the cancellation was requested.
 int hashCode()
           
 void setCause(String cause)
          If set, indicates that the request to cancel the workflow execution was automatically generated, and specifies the cause.
 void setCause(WorkflowExecutionCancelRequestedCause cause)
          If set, indicates that the request to cancel the workflow execution was automatically generated, and specifies the cause.
 void setExternalInitiatedEventId(Long externalInitiatedEventId)
          The id of the RequestCancelExternalWorkflowExecutionInitiated event corresponding to the RequestCancelExternalWorkflowExecution decision to cancel this workflow execution.The source event with this Id can be found in the history of the source workflow execution.
 void setExternalWorkflowExecution(WorkflowExecution externalWorkflowExecution)
          The external workflow execution for which the cancellation was requested.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 WorkflowExecutionCancelRequestedEventAttributes withCause(String cause)
          If set, indicates that the request to cancel the workflow execution was automatically generated, and specifies the cause.
 WorkflowExecutionCancelRequestedEventAttributes withCause(WorkflowExecutionCancelRequestedCause cause)
          If set, indicates that the request to cancel the workflow execution was automatically generated, and specifies the cause.
 WorkflowExecutionCancelRequestedEventAttributes withExternalInitiatedEventId(Long externalInitiatedEventId)
          The id of the RequestCancelExternalWorkflowExecutionInitiated event corresponding to the RequestCancelExternalWorkflowExecution decision to cancel this workflow execution.The source event with this Id can be found in the history of the source workflow execution.
 WorkflowExecutionCancelRequestedEventAttributes withExternalWorkflowExecution(WorkflowExecution externalWorkflowExecution)
          The external workflow execution for which the cancellation was requested.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WorkflowExecutionCancelRequestedEventAttributes

public WorkflowExecutionCancelRequestedEventAttributes()
Method Detail

getExternalWorkflowExecution

public WorkflowExecution getExternalWorkflowExecution()
The external workflow execution for which the cancellation was requested.

Returns:
The external workflow execution for which the cancellation was requested.

setExternalWorkflowExecution

public void setExternalWorkflowExecution(WorkflowExecution externalWorkflowExecution)
The external workflow execution for which the cancellation was requested.

Parameters:
externalWorkflowExecution - The external workflow execution for which the cancellation was requested.

withExternalWorkflowExecution

public WorkflowExecutionCancelRequestedEventAttributes withExternalWorkflowExecution(WorkflowExecution externalWorkflowExecution)
The external workflow execution for which the cancellation was requested.

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

Parameters:
externalWorkflowExecution - The external workflow execution for which the cancellation was requested.
Returns:
A reference to this updated object so that method calls can be chained together.

getExternalInitiatedEventId

public Long getExternalInitiatedEventId()
The id of the RequestCancelExternalWorkflowExecutionInitiated event corresponding to the RequestCancelExternalWorkflowExecution decision to cancel this workflow execution.The source event with this Id can be found in the history of the source 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 workflow execution.The source event with this Id can be found in the history of the source workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

setExternalInitiatedEventId

public void setExternalInitiatedEventId(Long externalInitiatedEventId)
The id of the RequestCancelExternalWorkflowExecutionInitiated event corresponding to the RequestCancelExternalWorkflowExecution decision to cancel this workflow execution.The source event with this Id can be found in the history of the source workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

Parameters:
externalInitiatedEventId - The id of the RequestCancelExternalWorkflowExecutionInitiated event corresponding to the RequestCancelExternalWorkflowExecution decision to cancel this workflow execution.The source event with this Id can be found in the history of the source workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

withExternalInitiatedEventId

public WorkflowExecutionCancelRequestedEventAttributes withExternalInitiatedEventId(Long externalInitiatedEventId)
The id of the RequestCancelExternalWorkflowExecutionInitiated event corresponding to the RequestCancelExternalWorkflowExecution decision to cancel this workflow execution.The source event with this Id can be found in the history of the source 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:
externalInitiatedEventId - The id of the RequestCancelExternalWorkflowExecutionInitiated event corresponding to the RequestCancelExternalWorkflowExecution decision to cancel this workflow execution.The source event with this Id can be found in the history of the source 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.

getCause

public String getCause()
If set, indicates that the request to cancel the workflow execution was automatically generated, and specifies the cause. This happens if the parent workflow execution times out or is terminated, and the child policy is set to cancel child executions.

Constraints:
Allowed Values: CHILD_POLICY_APPLIED

Returns:
If set, indicates that the request to cancel the workflow execution was automatically generated, and specifies the cause. This happens if the parent workflow execution times out or is terminated, and the child policy is set to cancel child executions.
See Also:
WorkflowExecutionCancelRequestedCause

setCause

public void setCause(String cause)
If set, indicates that the request to cancel the workflow execution was automatically generated, and specifies the cause. This happens if the parent workflow execution times out or is terminated, and the child policy is set to cancel child executions.

Constraints:
Allowed Values: CHILD_POLICY_APPLIED

Parameters:
cause - If set, indicates that the request to cancel the workflow execution was automatically generated, and specifies the cause. This happens if the parent workflow execution times out or is terminated, and the child policy is set to cancel child executions.
See Also:
WorkflowExecutionCancelRequestedCause

withCause

public WorkflowExecutionCancelRequestedEventAttributes withCause(String cause)
If set, indicates that the request to cancel the workflow execution was automatically generated, and specifies the cause. This happens if the parent workflow execution times out or is terminated, and the child policy is set to cancel child executions.

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

Constraints:
Allowed Values: CHILD_POLICY_APPLIED

Parameters:
cause - If set, indicates that the request to cancel the workflow execution was automatically generated, and specifies the cause. This happens if the parent workflow execution times out or is terminated, and the child policy is set to cancel child executions.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
WorkflowExecutionCancelRequestedCause

setCause

public void setCause(WorkflowExecutionCancelRequestedCause cause)
If set, indicates that the request to cancel the workflow execution was automatically generated, and specifies the cause. This happens if the parent workflow execution times out or is terminated, and the child policy is set to cancel child executions.

Constraints:
Allowed Values: CHILD_POLICY_APPLIED

Parameters:
cause - If set, indicates that the request to cancel the workflow execution was automatically generated, and specifies the cause. This happens if the parent workflow execution times out or is terminated, and the child policy is set to cancel child executions.
See Also:
WorkflowExecutionCancelRequestedCause

withCause

public WorkflowExecutionCancelRequestedEventAttributes withCause(WorkflowExecutionCancelRequestedCause cause)
If set, indicates that the request to cancel the workflow execution was automatically generated, and specifies the cause. This happens if the parent workflow execution times out or is terminated, and the child policy is set to cancel child executions.

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

Constraints:
Allowed Values: CHILD_POLICY_APPLIED

Parameters:
cause - If set, indicates that the request to cancel the workflow execution was automatically generated, and specifies the cause. This happens if the parent workflow execution times out or is terminated, and the child policy is set to cancel child executions.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
WorkflowExecutionCancelRequestedCause

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.