Class ActivityTaskTimedOutEventAttributes
- All Implemented Interfaces:
Serializable, Cloneable
Provides details of the ActivityTaskTimedOut event.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanContains the content of thedetailsparameter for the last call made by the activity toRecordActivityTaskHeartbeat.The ID of theActivityTaskScheduledevent that was recorded when this activity task was scheduled.The ID of theActivityTaskStartedevent recorded when this activity task was started.The type of the timeout that caused this event.inthashCode()voidsetDetails(String details) Contains the content of thedetailsparameter for the last call made by the activity toRecordActivityTaskHeartbeat.voidsetScheduledEventId(Long scheduledEventId) The ID of theActivityTaskScheduledevent that was recorded when this activity task was scheduled.voidsetStartedEventId(Long startedEventId) The ID of theActivityTaskStartedevent recorded when this activity task was started.voidsetTimeoutType(ActivityTaskTimeoutType timeoutType) The type of the timeout that caused this event.voidsetTimeoutType(String timeoutType) The type of the timeout that caused this event.toString()Returns a string representation of this object; useful for testing and debugging.withDetails(String details) Contains the content of thedetailsparameter for the last call made by the activity toRecordActivityTaskHeartbeat.withScheduledEventId(Long scheduledEventId) The ID of theActivityTaskScheduledevent that was recorded when this activity task was scheduled.withStartedEventId(Long startedEventId) The ID of theActivityTaskStartedevent recorded when this activity task was started.withTimeoutType(ActivityTaskTimeoutType timeoutType) The type of the timeout that caused this event.withTimeoutType(String timeoutType) The type of the timeout that caused this event.
-
Constructor Details
-
ActivityTaskTimedOutEventAttributes
public ActivityTaskTimedOutEventAttributes()
-
-
Method Details
-
setTimeoutType
The type of the timeout that caused this event.
- Parameters:
timeoutType- The type of the timeout that caused this event.- See Also:
-
getTimeoutType
The type of the timeout that caused this event.
- Returns:
- The type of the timeout that caused this event.
- See Also:
-
withTimeoutType
The type of the timeout that caused this event.
- Parameters:
timeoutType- The type of the timeout that caused this event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setTimeoutType
The type of the timeout that caused this event.
- Parameters:
timeoutType- The type of the timeout that caused this event.- See Also:
-
withTimeoutType
The type of the timeout that caused this event.
- Parameters:
timeoutType- The type of the timeout that caused this event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setScheduledEventId
The ID of the
ActivityTaskScheduledevent 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 theActivityTaskScheduledevent 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.
-
getScheduledEventId
The ID of the
ActivityTaskScheduledevent 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
ActivityTaskScheduledevent 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
The ID of the
ActivityTaskScheduledevent 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 theActivityTaskScheduledevent 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:
- Returns a reference to this object so that method calls can be chained together.
-
setStartedEventId
The ID of the
ActivityTaskStartedevent 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 theActivityTaskStartedevent 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.
-
getStartedEventId
The ID of the
ActivityTaskStartedevent 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
ActivityTaskStartedevent 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
The ID of the
ActivityTaskStartedevent 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 theActivityTaskStartedevent 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:
- Returns a reference to this object so that method calls can be chained together.
-
setDetails
Contains the content of the
detailsparameter for the last call made by the activity toRecordActivityTaskHeartbeat.- Parameters:
details- Contains the content of thedetailsparameter for the last call made by the activity toRecordActivityTaskHeartbeat.
-
getDetails
Contains the content of the
detailsparameter for the last call made by the activity toRecordActivityTaskHeartbeat.- Returns:
- Contains the content of the
detailsparameter for the last call made by the activity toRecordActivityTaskHeartbeat.
-
withDetails
Contains the content of the
detailsparameter for the last call made by the activity toRecordActivityTaskHeartbeat.- Parameters:
details- Contains the content of thedetailsparameter for the last call made by the activity toRecordActivityTaskHeartbeat.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
-