Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.simpleworkflow.model
Class WorkflowExecutionFailedEventAttributes

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

public class WorkflowExecutionFailedEventAttributes
extends Object
implements Serializable

Provides details of the WorkflowExecutionFailed event.

See Also:
Serialized Form

Constructor Summary
WorkflowExecutionFailedEventAttributes()
           
 
Method Summary
 boolean equals(Object obj)
           
 Long getDecisionTaskCompletedEventId()
          The id of the DecisionTaskCompleted event corresponding to the decision task that resulted in the FailWorkflowExecution decision to fail this execution.
 String getDetails()
          The details of the failure (if any).
 String getReason()
          The descriptive reason provided for the failure (if any).
 int hashCode()
           
 void setDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
          The id of the DecisionTaskCompleted event corresponding to the decision task that resulted in the FailWorkflowExecution decision to fail this execution.
 void setDetails(String details)
          The details of the failure (if any).
 void setReason(String reason)
          The descriptive reason provided for the failure (if any).
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 WorkflowExecutionFailedEventAttributes withDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
          The id of the DecisionTaskCompleted event corresponding to the decision task that resulted in the FailWorkflowExecution decision to fail this execution.
 WorkflowExecutionFailedEventAttributes withDetails(String details)
          The details of the failure (if any).
 WorkflowExecutionFailedEventAttributes withReason(String reason)
          The descriptive reason provided for the failure (if any).
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WorkflowExecutionFailedEventAttributes

public WorkflowExecutionFailedEventAttributes()
Method Detail

getReason

public String getReason()
The descriptive reason provided for the failure (if any).

Constraints:
Length: 0 - 256

Returns:
The descriptive reason provided for the failure (if any).

setReason

public void setReason(String reason)
The descriptive reason provided for the failure (if any).

Constraints:
Length: 0 - 256

Parameters:
reason - The descriptive reason provided for the failure (if any).

withReason

public WorkflowExecutionFailedEventAttributes withReason(String reason)
The descriptive reason provided for the failure (if any).

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

Constraints:
Length: 0 - 256

Parameters:
reason - The descriptive reason provided for the failure (if any).
Returns:
A reference to this updated object so that method calls can be chained together.

getDetails

public String getDetails()
The details of the failure (if any).

Constraints:
Length: 0 - 32768

Returns:
The details of the failure (if any).

setDetails

public void setDetails(String details)
The details of the failure (if any).

Constraints:
Length: 0 - 32768

Parameters:
details - The details of the failure (if any).

withDetails

public WorkflowExecutionFailedEventAttributes withDetails(String details)
The details of the failure (if any).

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

Constraints:
Length: 0 - 32768

Parameters:
details - The details of the failure (if any).
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 FailWorkflowExecution decision to fail this execution. 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 FailWorkflowExecution decision to fail this execution. 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 FailWorkflowExecution decision to fail this execution. 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 FailWorkflowExecution decision to fail this execution. This information can be useful for diagnosing problems by tracing back the cause of events.

withDecisionTaskCompletedEventId

public WorkflowExecutionFailedEventAttributes withDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
The id of the DecisionTaskCompleted event corresponding to the decision task that resulted in the FailWorkflowExecution decision to fail this execution. 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 FailWorkflowExecution decision to fail this execution. 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.

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.