Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.simpleworkflow.model
Class ActivityTaskTimedOutEventAttributes

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

public class ActivityTaskTimedOutEventAttributes
extends Object

Provides details of the ActivityTaskTimedOut event.


Constructor Summary
ActivityTaskTimedOutEventAttributes()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getDetails()
          Contains the content of the details parameter for the last call made by the activity to RecordActivityTaskHeartbeat.
 Long getScheduledEventId()
          The id of the ActivityTaskScheduled event that was recorded when this activity task was scheduled.
 Long getStartedEventId()
          The Id of the ActivityTaskStarted event recorded when this activity task was started.
 String getTimeoutType()
          The type of the timeout that caused this event.
 int hashCode()
           
 void setDetails(String details)
          Contains the content of the details parameter for the last call made by the activity to RecordActivityTaskHeartbeat.
 void setScheduledEventId(Long scheduledEventId)
          The id of the ActivityTaskScheduled event that was recorded when this activity task was scheduled.
 void setStartedEventId(Long startedEventId)
          The Id of the ActivityTaskStarted event recorded when this activity task was started.
 void setTimeoutType(ActivityTaskTimeoutType timeoutType)
          The type of the timeout that caused this event.
 void setTimeoutType(String timeoutType)
          The type of the timeout that caused this event.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ActivityTaskTimedOutEventAttributes withDetails(String details)
          Contains the content of the details parameter for the last call made by the activity to RecordActivityTaskHeartbeat.
 ActivityTaskTimedOutEventAttributes withScheduledEventId(Long scheduledEventId)
          The id of the ActivityTaskScheduled event that was recorded when this activity task was scheduled.
 ActivityTaskTimedOutEventAttributes withStartedEventId(Long startedEventId)
          The Id of the ActivityTaskStarted event recorded when this activity task was started.
 ActivityTaskTimedOutEventAttributes withTimeoutType(ActivityTaskTimeoutType timeoutType)
          The type of the timeout that caused this event.
 ActivityTaskTimedOutEventAttributes withTimeoutType(String timeoutType)
          The type of the timeout that caused this event.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ActivityTaskTimedOutEventAttributes

public ActivityTaskTimedOutEventAttributes()
Method Detail

getTimeoutType

public String getTimeoutType()
The type of the timeout that caused this event.

Constraints:
Allowed Values: START_TO_CLOSE, SCHEDULE_TO_START, SCHEDULE_TO_CLOSE, HEARTBEAT

Returns:
The type of the timeout that caused this event.
See Also:
ActivityTaskTimeoutType

setTimeoutType

public void setTimeoutType(String timeoutType)
The type of the timeout that caused this event.

Constraints:
Allowed Values: START_TO_CLOSE, SCHEDULE_TO_START, SCHEDULE_TO_CLOSE, HEARTBEAT

Parameters:
timeoutType - The type of the timeout that caused this event.
See Also:
ActivityTaskTimeoutType

withTimeoutType

public ActivityTaskTimedOutEventAttributes withTimeoutType(String timeoutType)
The type of the timeout that caused this event.

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

Constraints:
Allowed Values: START_TO_CLOSE, SCHEDULE_TO_START, SCHEDULE_TO_CLOSE, HEARTBEAT

Parameters:
timeoutType - The type of the timeout that caused this event.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
ActivityTaskTimeoutType

setTimeoutType

public void setTimeoutType(ActivityTaskTimeoutType timeoutType)
The type of the timeout that caused this event.

Constraints:
Allowed Values: START_TO_CLOSE, SCHEDULE_TO_START, SCHEDULE_TO_CLOSE, HEARTBEAT

Parameters:
timeoutType - The type of the timeout that caused this event.
See Also:
ActivityTaskTimeoutType

withTimeoutType

public ActivityTaskTimedOutEventAttributes withTimeoutType(ActivityTaskTimeoutType timeoutType)
The type of the timeout that caused this event.

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

Constraints:
Allowed Values: START_TO_CLOSE, SCHEDULE_TO_START, SCHEDULE_TO_CLOSE, HEARTBEAT

Parameters:
timeoutType - The type of the timeout that caused this event.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
ActivityTaskTimeoutType

getScheduledEventId

public 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(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 ActivityTaskTimedOutEventAttributes withScheduledEventId(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 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(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 ActivityTaskTimedOutEventAttributes withStartedEventId(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.

getDetails

public String getDetails()
Contains the content of the details parameter for the last call made by the activity to RecordActivityTaskHeartbeat.

Constraints:
Length: 0 - 2048

Returns:
Contains the content of the details parameter for the last call made by the activity to RecordActivityTaskHeartbeat.

setDetails

public void setDetails(String details)
Contains the content of the details parameter for the last call made by the activity to RecordActivityTaskHeartbeat.

Constraints:
Length: 0 - 2048

Parameters:
details - Contains the content of the details parameter for the last call made by the activity to RecordActivityTaskHeartbeat.

withDetails

public ActivityTaskTimedOutEventAttributes withDetails(String details)
Contains the content of the details parameter for the last call made by the activity to RecordActivityTaskHeartbeat.

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

Constraints:
Length: 0 - 2048

Parameters:
details - Contains the content of the details parameter for the last call made by the activity to RecordActivityTaskHeartbeat.
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.