public class StartTimerFailedEventAttributes extends Object implements Serializable
Provides details of the StartTimerFailed
event.
Constructor and Description |
---|
StartTimerFailedEventAttributes() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getCause()
The cause of the failure to process the decision.
|
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 to process the decision.
|
void |
setCause(String cause)
The cause of the failure to process the decision.
|
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 to process the decision.
|
StartTimerFailedEventAttributes |
withCause(String cause)
The cause of the failure to process the decision.
|
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
StartTimerFailedCause
public 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 to process the decision. This information is
generated by the system and can be useful for diagnostic purposes.
StartTimerFailedCause
public 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 to process the decision. This information is
generated by the system and can be useful for diagnostic purposes.
StartTimerFailedCause
public 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 to process the decision. This information is
generated by the system and can be useful for diagnostic purposes.
StartTimerFailedCause
public 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 to process the decision. This information is
generated by the system and can be useful for diagnostic purposes.
StartTimerFailedCause
public 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 cause of events.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 cause of events.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 cause of events.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 cause of events.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 cause of events.
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 cause of events.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.