Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.simpleworkflow.model
Class ChildWorkflowExecutionFailedEventAttributes

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

public class ChildWorkflowExecutionFailedEventAttributes
extends Object
implements Serializable

Provides details of the ChildWorkflowExecutionFailed event.

See Also:
Serialized Form

Constructor Summary
ChildWorkflowExecutionFailedEventAttributes()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getDetails()
          The details of the failure (if provided).
 Long getInitiatedEventId()
          The id of the StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution Decision to start this child workflow execution.
 String getReason()
          The reason for the failure (if provided).
 Long getStartedEventId()
          The Id of the ChildWorkflowExecutionStarted event recorded when this child workflow execution was started.
 WorkflowExecution getWorkflowExecution()
          The child workflow execution that failed.
 WorkflowType getWorkflowType()
          The type of the child workflow execution.
 int hashCode()
           
 void setDetails(String details)
          The details of the failure (if provided).
 void setInitiatedEventId(Long initiatedEventId)
          The id of the StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution Decision to start this child workflow execution.
 void setReason(String reason)
          The reason for the failure (if provided).
 void setStartedEventId(Long startedEventId)
          The Id of the ChildWorkflowExecutionStarted event recorded when this child workflow execution was started.
 void setWorkflowExecution(WorkflowExecution workflowExecution)
          The child workflow execution that failed.
 void setWorkflowType(WorkflowType workflowType)
          The type of the child workflow execution.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ChildWorkflowExecutionFailedEventAttributes withDetails(String details)
          The details of the failure (if provided).
 ChildWorkflowExecutionFailedEventAttributes withInitiatedEventId(Long initiatedEventId)
          The id of the StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution Decision to start this child workflow execution.
 ChildWorkflowExecutionFailedEventAttributes withReason(String reason)
          The reason for the failure (if provided).
 ChildWorkflowExecutionFailedEventAttributes withStartedEventId(Long startedEventId)
          The Id of the ChildWorkflowExecutionStarted event recorded when this child workflow execution was started.
 ChildWorkflowExecutionFailedEventAttributes withWorkflowExecution(WorkflowExecution workflowExecution)
          The child workflow execution that failed.
 ChildWorkflowExecutionFailedEventAttributes withWorkflowType(WorkflowType workflowType)
          The type of the child workflow execution.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChildWorkflowExecutionFailedEventAttributes

public ChildWorkflowExecutionFailedEventAttributes()
Method Detail

getWorkflowExecution

public WorkflowExecution getWorkflowExecution()
The child workflow execution that failed.

Returns:
The child workflow execution that failed.

setWorkflowExecution

public void setWorkflowExecution(WorkflowExecution workflowExecution)
The child workflow execution that failed.

Parameters:
workflowExecution - The child workflow execution that failed.

withWorkflowExecution

public ChildWorkflowExecutionFailedEventAttributes withWorkflowExecution(WorkflowExecution workflowExecution)
The child workflow execution that failed.

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

Parameters:
workflowExecution - The child workflow execution that failed.
Returns:
A reference to this updated object so that method calls can be chained together.

getWorkflowType

public WorkflowType getWorkflowType()
The type of the child workflow execution.

Returns:
The type of the child workflow execution.

setWorkflowType

public void setWorkflowType(WorkflowType workflowType)
The type of the child workflow execution.

Parameters:
workflowType - The type of the child workflow execution.

withWorkflowType

public ChildWorkflowExecutionFailedEventAttributes withWorkflowType(WorkflowType workflowType)
The type of the child workflow execution.

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

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

getReason

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

Constraints:
Length: 0 - 256

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

setReason

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

Constraints:
Length: 0 - 256

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

withReason

public ChildWorkflowExecutionFailedEventAttributes withReason(String reason)
The reason for the failure (if provided).

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

Constraints:
Length: 0 - 256

Parameters:
reason - The reason for the failure (if provided).
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 provided).

Constraints:
Length: 0 - 32768

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

setDetails

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

Constraints:
Length: 0 - 32768

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

withDetails

public ChildWorkflowExecutionFailedEventAttributes withDetails(String details)
The details of the failure (if provided).

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

getInitiatedEventId

public Long getInitiatedEventId()
The id of the StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution Decision to start this child 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 StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution Decision to start this child 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 StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution Decision to start this child 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 StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution Decision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

withInitiatedEventId

public ChildWorkflowExecutionFailedEventAttributes withInitiatedEventId(Long initiatedEventId)
The id of the StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution Decision to start this child 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 StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution Decision to start this child 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.

getStartedEventId

public Long getStartedEventId()
The Id of the ChildWorkflowExecutionStarted event recorded when this child workflow execution was started. 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 ChildWorkflowExecutionStarted event recorded when this child workflow execution was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

setStartedEventId

public void setStartedEventId(Long startedEventId)
The Id of the ChildWorkflowExecutionStarted event recorded when this child workflow execution was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

Parameters:
startedEventId - The Id of the ChildWorkflowExecutionStarted event recorded when this child workflow execution was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

withStartedEventId

public ChildWorkflowExecutionFailedEventAttributes withStartedEventId(Long startedEventId)
The Id of the ChildWorkflowExecutionStarted event recorded when this child workflow execution was started. 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:
startedEventId - The Id of the ChildWorkflowExecutionStarted event recorded when this child workflow execution was started. 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.

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.