public class DecisionTaskTimedOutEventAttributes extends Object implements Serializable, Cloneable
Provides details of the DecisionTaskTimedOut event.
| Constructor and Description |
|---|
DecisionTaskTimedOutEventAttributes() |
| Modifier and Type | Method and Description |
|---|---|
DecisionTaskTimedOutEventAttributes |
clone() |
boolean |
equals(Object obj) |
Long |
getScheduledEventId()
The ID of the
DecisionTaskScheduled event that was
recorded when this decision task was scheduled. |
Long |
getStartedEventId()
The ID of the
DecisionTaskStarted event recorded when
this decision task was started. |
String |
getTimeoutType()
The type of timeout that expired before the decision task could be
completed.
|
int |
hashCode() |
void |
setScheduledEventId(Long scheduledEventId)
The ID of the
DecisionTaskScheduled event that was
recorded when this decision task was scheduled. |
void |
setStartedEventId(Long startedEventId)
The ID of the
DecisionTaskStarted event recorded when
this decision task was started. |
void |
setTimeoutType(DecisionTaskTimeoutType timeoutType)
The type of timeout that expired before the decision task could be
completed.
|
void |
setTimeoutType(String timeoutType)
The type of timeout that expired before the decision task could be
completed.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DecisionTaskTimedOutEventAttributes |
withScheduledEventId(Long scheduledEventId)
The ID of the
DecisionTaskScheduled event that was
recorded when this decision task was scheduled. |
DecisionTaskTimedOutEventAttributes |
withStartedEventId(Long startedEventId)
The ID of the
DecisionTaskStarted event recorded when
this decision task was started. |
DecisionTaskTimedOutEventAttributes |
withTimeoutType(DecisionTaskTimeoutType timeoutType)
The type of timeout that expired before the decision task could be
completed.
|
DecisionTaskTimedOutEventAttributes |
withTimeoutType(String timeoutType)
The type of timeout that expired before the decision task could be
completed.
|
public String getTimeoutType()
Constraints:
Allowed Values: START_TO_CLOSE
DecisionTaskTimeoutTypepublic void setTimeoutType(String timeoutType)
Constraints:
Allowed Values: START_TO_CLOSE
timeoutType - The type of timeout that expired before the decision task could be
completed.DecisionTaskTimeoutTypepublic DecisionTaskTimedOutEventAttributes withTimeoutType(String timeoutType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: START_TO_CLOSE
timeoutType - The type of timeout that expired before the decision task could be
completed.DecisionTaskTimeoutTypepublic void setTimeoutType(DecisionTaskTimeoutType timeoutType)
Constraints:
Allowed Values: START_TO_CLOSE
timeoutType - The type of timeout that expired before the decision task could be
completed.DecisionTaskTimeoutTypepublic DecisionTaskTimedOutEventAttributes withTimeoutType(DecisionTaskTimeoutType timeoutType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: START_TO_CLOSE
timeoutType - The type of timeout that expired before the decision task could be
completed.DecisionTaskTimeoutTypepublic Long getScheduledEventId()
DecisionTaskScheduled event that was
recorded when this decision task was scheduled. This information can
be useful for diagnosing problems by tracing back the chain of events
leading up to this event.DecisionTaskScheduled event that was
recorded when this decision 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)
DecisionTaskScheduled event that was
recorded when this decision 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 DecisionTaskScheduled event that was
recorded when this decision task was scheduled. This information can
be useful for diagnosing problems by tracing back the chain of events
leading up to this event.public DecisionTaskTimedOutEventAttributes withScheduledEventId(Long scheduledEventId)
DecisionTaskScheduled event that was
recorded when this decision 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 DecisionTaskScheduled event that was
recorded when this decision 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()
DecisionTaskStarted event recorded when
this decision task was started. This information can be useful for
diagnosing problems by tracing back the chain of events leading up to
this event.DecisionTaskStarted event recorded when
this decision 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)
DecisionTaskStarted event recorded when
this decision 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 DecisionTaskStarted event recorded when
this decision task was started. This information can be useful for
diagnosing problems by tracing back the chain of events leading up to
this event.public DecisionTaskTimedOutEventAttributes withStartedEventId(Long startedEventId)
DecisionTaskStarted event recorded when
this decision 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 DecisionTaskStarted event recorded when
this decision 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 toString()
toString in class ObjectObject.toString()public DecisionTaskTimedOutEventAttributes clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.