public class StartTimerFailedEventAttributes extends Object implements Serializable, Cloneable
Provides details of the StartTimerFailed event.
| Constructor and Description |
|---|
StartTimerFailedEventAttributes() |
| Modifier and Type | Method and Description |
|---|---|
StartTimerFailedEventAttributes |
clone() |
boolean |
equals(Object obj) |
String |
getCause()
The cause of the failure.
|
Long |
getDecisionTaskCompletedEventId()
The ID of the
DecisionTaskCompleted event corresponding
to the decision task that resulted in the StartTimer
decision for this activity task. |
String |
getTimerId()
The timerId provided in the
StartTimer decision that
failed. |
int |
hashCode() |
void |
setCause(StartTimerFailedCause cause)
The cause of the failure.
|
void |
setCause(String cause)
The cause of the failure.
|
void |
setDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
The ID of the
DecisionTaskCompleted event corresponding
to the decision task that resulted in the StartTimer
decision for this activity task. |
void |
setTimerId(String timerId)
The timerId provided in the
StartTimer decision that
failed. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
StartTimerFailedEventAttributes |
withCause(StartTimerFailedCause cause)
The cause of the failure.
|
StartTimerFailedEventAttributes |
withCause(String cause)
The cause of the failure.
|
StartTimerFailedEventAttributes |
withDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
The ID of the
DecisionTaskCompleted event corresponding
to the decision task that resulted in the StartTimer
decision for this activity task. |
StartTimerFailedEventAttributes |
withTimerId(String timerId)
The timerId provided in the
StartTimer decision that
failed. |
public String getTimerId()
StartTimer decision that
failed.
Constraints:
Length: 1 - 256
StartTimer decision that
failed.public void setTimerId(String timerId)
StartTimer decision that
failed.
Constraints:
Length: 1 - 256
timerId - The timerId provided in the StartTimer decision that
failed.public StartTimerFailedEventAttributes withTimerId(String timerId)
StartTimer decision that
failed.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
timerId - The timerId provided in the StartTimer decision that
failed.public String getCause()
Constraints:
Allowed Values: TIMER_ID_ALREADY_IN_USE, OPEN_TIMERS_LIMIT_EXCEEDED, TIMER_CREATION_RATE_EXCEEDED, OPERATION_NOT_PERMITTED
StartTimerFailedCausepublic void setCause(String cause)
Constraints:
Allowed Values: TIMER_ID_ALREADY_IN_USE, OPEN_TIMERS_LIMIT_EXCEEDED, TIMER_CREATION_RATE_EXCEEDED, OPERATION_NOT_PERMITTED
cause - The cause of the failure. This information is generated by the system
and can be useful for diagnostic purposes. StartTimerFailedCausepublic StartTimerFailedEventAttributes withCause(String cause)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: TIMER_ID_ALREADY_IN_USE, OPEN_TIMERS_LIMIT_EXCEEDED, TIMER_CREATION_RATE_EXCEEDED, OPERATION_NOT_PERMITTED
cause - The cause of the failure. This information is generated by the system
and can be useful for diagnostic purposes. StartTimerFailedCausepublic void setCause(StartTimerFailedCause cause)
Constraints:
Allowed Values: TIMER_ID_ALREADY_IN_USE, OPEN_TIMERS_LIMIT_EXCEEDED, TIMER_CREATION_RATE_EXCEEDED, OPERATION_NOT_PERMITTED
cause - The cause of the failure. This information is generated by the system
and can be useful for diagnostic purposes. StartTimerFailedCausepublic StartTimerFailedEventAttributes withCause(StartTimerFailedCause cause)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: TIMER_ID_ALREADY_IN_USE, OPEN_TIMERS_LIMIT_EXCEEDED, TIMER_CREATION_RATE_EXCEEDED, OPERATION_NOT_PERMITTED
cause - The cause of the failure. This information is generated by the system
and can be useful for diagnostic purposes. StartTimerFailedCausepublic Long getDecisionTaskCompletedEventId()
DecisionTaskCompleted event corresponding
to the decision task that resulted in the StartTimer
decision for this activity task. This information can be useful for
diagnosing problems by tracing back the chain of events leading up to
this event.DecisionTaskCompleted event corresponding
to the decision task that resulted in the StartTimer
decision for this activity task. This information can be useful for
diagnosing problems by tracing back the chain of events leading up to
this event.public void setDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
DecisionTaskCompleted event corresponding
to the decision task that resulted in the StartTimer
decision for this activity task. This information can be useful for
diagnosing problems by tracing back the chain of events leading up to
this event.decisionTaskCompletedEventId - The ID of the DecisionTaskCompleted event corresponding
to the decision task that resulted in the StartTimer
decision for this activity task. This information can be useful for
diagnosing problems by tracing back the chain of events leading up to
this event.public StartTimerFailedEventAttributes withDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
DecisionTaskCompleted event corresponding
to the decision task that resulted in the StartTimer
decision for this activity task. 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.
decisionTaskCompletedEventId - The ID of the DecisionTaskCompleted event corresponding
to the decision task that resulted in the StartTimer
decision for this activity task. 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 StartTimerFailedEventAttributes clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.