public class DecisionTaskTimedOutEventAttributes extends Object implements Serializable
Provides details of the DecisionTaskTimedOut
event.
Constructor and Description |
---|
DecisionTaskTimedOutEventAttributes() |
Modifier and Type | Method and Description |
---|---|
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
DecisionTaskTimeoutType
public void setTimeoutType(String timeoutType)
Constraints:
Allowed Values: START_TO_CLOSE
timeoutType
- The type of timeout that expired before the decision task could be
completed.DecisionTaskTimeoutType
public 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.DecisionTaskTimeoutType
public void setTimeoutType(DecisionTaskTimeoutType timeoutType)
Constraints:
Allowed Values: START_TO_CLOSE
timeoutType
- The type of timeout that expired before the decision task could be
completed.DecisionTaskTimeoutType
public 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.DecisionTaskTimeoutType
public 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 Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.