public class CancelTimerFailedEventAttributes extends Object implements Serializable
Provides details of the CancelTimerFailed event.
| Constructor and Description |
|---|
CancelTimerFailedEventAttributes() |
| 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 CancelTimer
decision to cancel this timer. |
String |
getTimerId()
The timerId provided in the
CancelTimer decision that
failed. |
int |
hashCode() |
void |
setCause(CancelTimerFailedCause 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 CancelTimer
decision to cancel this timer. |
void |
setTimerId(String timerId)
The timerId provided in the
CancelTimer decision that
failed. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CancelTimerFailedEventAttributes |
withCause(CancelTimerFailedCause cause)
The cause of the failure to process the decision.
|
CancelTimerFailedEventAttributes |
withCause(String cause)
The cause of the failure to process the decision.
|
CancelTimerFailedEventAttributes |
withDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
The id of the
DecisionTaskCompleted event corresponding
to the decision task that resulted in the CancelTimer
decision to cancel this timer. |
CancelTimerFailedEventAttributes |
withTimerId(String timerId)
The timerId provided in the
CancelTimer decision that
failed. |
public String getTimerId()
CancelTimer decision that
failed.
Constraints:
Length: 1 - 256
CancelTimer decision that
failed.public void setTimerId(String timerId)
CancelTimer decision that
failed.
Constraints:
Length: 1 - 256
timerId - The timerId provided in the CancelTimer decision that
failed.public CancelTimerFailedEventAttributes withTimerId(String timerId)
CancelTimer 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 CancelTimer decision that
failed.public String getCause()
Constraints:
Allowed Values: TIMER_ID_UNKNOWN, OPERATION_NOT_PERMITTED
CancelTimerFailedCausepublic void setCause(String cause)
Constraints:
Allowed Values: TIMER_ID_UNKNOWN, 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.
CancelTimerFailedCausepublic CancelTimerFailedEventAttributes withCause(String cause)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: TIMER_ID_UNKNOWN, 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.
CancelTimerFailedCausepublic void setCause(CancelTimerFailedCause cause)
Constraints:
Allowed Values: TIMER_ID_UNKNOWN, 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.
CancelTimerFailedCausepublic CancelTimerFailedEventAttributes withCause(CancelTimerFailedCause cause)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: TIMER_ID_UNKNOWN, 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.
CancelTimerFailedCausepublic Long getDecisionTaskCompletedEventId()
DecisionTaskCompleted event corresponding
to the decision task that resulted in the CancelTimer
decision to cancel this timer. 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 CancelTimer
decision to cancel this timer. 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 CancelTimer
decision to cancel this timer. 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 CancelTimer
decision to cancel this timer. This information can be useful for
diagnosing problems by tracing back the cause of events.public CancelTimerFailedEventAttributes withDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
DecisionTaskCompleted event corresponding
to the decision task that resulted in the CancelTimer
decision to cancel this timer. 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 CancelTimer
decision to cancel this timer. This information can be useful for
diagnosing problems by tracing back the cause of events.public String toString()
toString in class ObjectObject.toString()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.