public class ActivityTaskTimedOutEventAttributes extends Object implements Serializable, Cloneable
Provides details of the ActivityTaskTimedOut
event.
Constructor and Description |
---|
ActivityTaskTimedOutEventAttributes() |
Modifier and Type | Method and Description |
---|---|
ActivityTaskTimedOutEventAttributes |
clone() |
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.
|
public String getTimeoutType()
Constraints:
Allowed Values: START_TO_CLOSE, SCHEDULE_TO_START, SCHEDULE_TO_CLOSE, HEARTBEAT
ActivityTaskTimeoutType
public void setTimeoutType(String timeoutType)
Constraints:
Allowed Values: START_TO_CLOSE, SCHEDULE_TO_START, SCHEDULE_TO_CLOSE, HEARTBEAT
timeoutType
- The type of the timeout that caused this event.ActivityTaskTimeoutType
public ActivityTaskTimedOutEventAttributes withTimeoutType(String timeoutType)
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
timeoutType
- The type of the timeout that caused this event.ActivityTaskTimeoutType
public void setTimeoutType(ActivityTaskTimeoutType timeoutType)
Constraints:
Allowed Values: START_TO_CLOSE, SCHEDULE_TO_START, SCHEDULE_TO_CLOSE, HEARTBEAT
timeoutType
- The type of the timeout that caused this event.ActivityTaskTimeoutType
public ActivityTaskTimedOutEventAttributes withTimeoutType(ActivityTaskTimeoutType timeoutType)
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
timeoutType
- The type of the timeout that caused this event.ActivityTaskTimeoutType
public Long getScheduledEventId()
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.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.public void setScheduledEventId(Long scheduledEventId)
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.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.public ActivityTaskTimedOutEventAttributes withScheduledEventId(Long scheduledEventId)
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.
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.public Long getStartedEventId()
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.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.public void setStartedEventId(Long startedEventId)
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.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.public ActivityTaskTimedOutEventAttributes withStartedEventId(Long startedEventId)
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.
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.public String getDetails()
details
parameter for the
last call made by the activity to
RecordActivityTaskHeartbeat
.
Constraints:
Length: 0 - 2048
details
parameter for the
last call made by the activity to
RecordActivityTaskHeartbeat
.public void setDetails(String details)
details
parameter for the
last call made by the activity to
RecordActivityTaskHeartbeat
.
Constraints:
Length: 0 - 2048
details
- Contains the content of the details
parameter for the
last call made by the activity to
RecordActivityTaskHeartbeat
.public ActivityTaskTimedOutEventAttributes withDetails(String details)
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
details
- Contains the content of the details
parameter for the
last call made by the activity to
RecordActivityTaskHeartbeat
.public String toString()
toString
in class Object
Object.toString()
public ActivityTaskTimedOutEventAttributes clone()
Copyright © 2015. All rights reserved.