Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.simpleworkflow.model
Class RequestCancelExternalWorkflowExecutionInitiatedEventAttributes

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

public class RequestCancelExternalWorkflowExecutionInitiatedEventAttributes
extends Object
implements Serializable

Provides details of the RequestCancelExternalWorkflowExecutionInitiated event.

See Also:
Serialized Form

Constructor Summary
RequestCancelExternalWorkflowExecutionInitiatedEventAttributes()
           
 
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.
 Long getDecisionTaskCompletedEventId()
          The id of the DecisionTaskCompleted event corresponding to the decision task that resulted in the RequestCancelExternalWorkflowExecution decision for this cancellation request.
 String getRunId()
          The runId of the external workflow execution to be canceled.
 String getWorkflowId()
          The workflowId of the external workflow execution to be canceled.
 int hashCode()
           
 void setControl(String control)
          Optional data attached to the event that can be used by the decider in subsequent workflow tasks.
 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 setRunId(String runId)
          The runId of the external workflow execution to be canceled.
 void setWorkflowId(String workflowId)
          The workflowId of the external workflow execution to be canceled.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 RequestCancelExternalWorkflowExecutionInitiatedEventAttributes withControl(String control)
          Optional data attached to the event that can be used by the decider in subsequent workflow tasks.
 RequestCancelExternalWorkflowExecutionInitiatedEventAttributes withDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
          The id of the DecisionTaskCompleted event corresponding to the decision task that resulted in the RequestCancelExternalWorkflowExecution decision for this cancellation request.
 RequestCancelExternalWorkflowExecutionInitiatedEventAttributes withRunId(String runId)
          The runId of the external workflow execution to be canceled.
 RequestCancelExternalWorkflowExecutionInitiatedEventAttributes withWorkflowId(String workflowId)
          The workflowId of the external workflow execution to be canceled.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RequestCancelExternalWorkflowExecutionInitiatedEventAttributes

public RequestCancelExternalWorkflowExecutionInitiatedEventAttributes()
Method Detail

getWorkflowId

public String getWorkflowId()
The workflowId of the external workflow execution to be canceled.

Constraints:
Length: 1 - 256

Returns:
The workflowId of the external workflow execution to be canceled.

setWorkflowId

public void setWorkflowId(String workflowId)
The workflowId of the external workflow execution to be canceled.

Constraints:
Length: 1 - 256

Parameters:
workflowId - The workflowId of the external workflow execution to be canceled.

withWorkflowId

public RequestCancelExternalWorkflowExecutionInitiatedEventAttributes withWorkflowId(String workflowId)
The workflowId of the external workflow execution to be canceled.

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 be canceled.
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 be canceled.

Constraints:
Length: 0 - 64

Returns:
The runId of the external workflow execution to be canceled.

setRunId

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

Constraints:
Length: 0 - 64

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

withRunId

public RequestCancelExternalWorkflowExecutionInitiatedEventAttributes withRunId(String runId)
The runId of the external workflow execution to be canceled.

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 be canceled.
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 RequestCancelExternalWorkflowExecutionInitiatedEventAttributes 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()
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 RequestCancelExternalWorkflowExecutionInitiatedEventAttributes 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.