Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.simpleworkflow.model
Class ActivityTaskFailedEventAttributes

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

public class ActivityTaskFailedEventAttributes
extends java.lang.Object

Provides details of the ActivityTaskFailed event.


Constructor Summary
ActivityTaskFailedEventAttributes()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getDetails()
          The details of the failure (if any).
 java.lang.String getReason()
          The reason provided for the failure (if any).
 java.lang.Long getScheduledEventId()
          The id of the ActivityTaskScheduled event that was recorded when this activity task was scheduled.
 java.lang.Long getStartedEventId()
          The Id of the ActivityTaskStarted event recorded when this activity task was started.
 int hashCode()
           
 void setDetails(java.lang.String details)
          The details of the failure (if any).
 void setReason(java.lang.String reason)
          The reason provided for the failure (if any).
 void setScheduledEventId(java.lang.Long scheduledEventId)
          The id of the ActivityTaskScheduled event that was recorded when this activity task was scheduled.
 void setStartedEventId(java.lang.Long startedEventId)
          The Id of the ActivityTaskStarted event recorded when this activity task was started.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ActivityTaskFailedEventAttributes withDetails(java.lang.String details)
          The details of the failure (if any).
 ActivityTaskFailedEventAttributes withReason(java.lang.String reason)
          The reason provided for the failure (if any).
 ActivityTaskFailedEventAttributes withScheduledEventId(java.lang.Long scheduledEventId)
          The id of the ActivityTaskScheduled event that was recorded when this activity task was scheduled.
 ActivityTaskFailedEventAttributes withStartedEventId(java.lang.Long startedEventId)
          The Id of the ActivityTaskStarted event recorded when this activity task was started.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ActivityTaskFailedEventAttributes

public ActivityTaskFailedEventAttributes()
Method Detail

getReason

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

Constraints:
Length: 0 - 256

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

setReason

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

Constraints:
Length: 0 - 256

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

withReason

public ActivityTaskFailedEventAttributes withReason(java.lang.String reason)
The 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 reason provided for the failure (if any).
Returns:
A reference to this updated object so that method calls can be chained together.

getDetails

public java.lang.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(java.lang.String details)
The details of the failure (if any).

Constraints:
Length: 0 - 32768

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

withDetails

public ActivityTaskFailedEventAttributes withDetails(java.lang.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.

getScheduledEventId

public java.lang.Long getScheduledEventId()
The id of the ActivityTaskScheduled event that was recorded when this activity task was scheduled. 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 ActivityTaskScheduled event that was recorded when this activity task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

setScheduledEventId

public void setScheduledEventId(java.lang.Long scheduledEventId)
The id of the ActivityTaskScheduled event that was recorded when this activity task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

Parameters:
scheduledEventId - The id of the ActivityTaskScheduled event that was recorded when this activity task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

withScheduledEventId

public ActivityTaskFailedEventAttributes withScheduledEventId(java.lang.Long scheduledEventId)
The id of the ActivityTaskScheduled event that was recorded when this activity task was scheduled. 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:
scheduledEventId - The id of the ActivityTaskScheduled event that was recorded when this activity task was scheduled. 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 java.lang.Long getStartedEventId()
The Id of the ActivityTaskStarted event recorded when this activity task 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 ActivityTaskStarted event recorded when this activity task 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(java.lang.Long startedEventId)
The Id of the ActivityTaskStarted event recorded when this activity task 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 ActivityTaskStarted event recorded when this activity task was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

withStartedEventId

public ActivityTaskFailedEventAttributes withStartedEventId(java.lang.Long startedEventId)
The Id of the ActivityTaskStarted event recorded when this activity task 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 ActivityTaskStarted event recorded when this activity task 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 java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.