public class CancelTimerFailedEventAttributes
extends java.lang.Object
implements java.io.Serializable
Provides details of the CancelTimerFailed event.
| コンストラクタと説明 |
|---|
CancelTimerFailedEventAttributes() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCause()
The cause of the failure to process the decision.
|
java.lang.Long |
getDecisionTaskCompletedEventId()
The id of the
DecisionTaskCompleted event corresponding
to the decision task that resulted in the CancelTimer
decision to cancel this timer. |
java.lang.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(java.lang.String cause)
The cause of the failure to process the decision.
|
void |
setDecisionTaskCompletedEventId(java.lang.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(java.lang.String timerId)
The timerId provided in the
CancelTimer decision that
failed. |
java.lang.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(java.lang.String cause)
The cause of the failure to process the decision.
|
CancelTimerFailedEventAttributes |
withDecisionTaskCompletedEventId(java.lang.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(java.lang.String timerId)
The timerId provided in the
CancelTimer decision that
failed. |
public java.lang.String getTimerId()
CancelTimer decision that
failed.
Constraints:
Length: 1 - 256
CancelTimer decision that
failed.public void setTimerId(java.lang.String timerId)
CancelTimer decision that
failed.
Constraints:
Length: 1 - 256
timerId - The timerId provided in the CancelTimer decision that
failed.public CancelTimerFailedEventAttributes withTimerId(java.lang.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 java.lang.String getCause()
Constraints:
Allowed Values: TIMER_ID_UNKNOWN, OPERATION_NOT_PERMITTED
CancelTimerFailedCausepublic void setCause(java.lang.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(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object