public class RequestCancelActivityTaskFailedEventAttributes
extends java.lang.Object
implements java.io.Serializable
Provides details of the RequestCancelActivityTaskFailed event.
| コンストラクタと説明 |
|---|
RequestCancelActivityTaskFailedEventAttributes() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getActivityId()
The activityId provided in the
RequestCancelActivityTask
decision that failed. |
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
RequestCancelActivityTask decision for this cancellation
request. |
int |
hashCode() |
void |
setActivityId(java.lang.String activityId)
The activityId provided in the
RequestCancelActivityTask
decision that failed. |
void |
setCause(RequestCancelActivityTaskFailedCause 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
RequestCancelActivityTask decision for this cancellation
request. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RequestCancelActivityTaskFailedEventAttributes |
withActivityId(java.lang.String activityId)
The activityId provided in the
RequestCancelActivityTask
decision that failed. |
RequestCancelActivityTaskFailedEventAttributes |
withCause(RequestCancelActivityTaskFailedCause cause)
The cause of the failure to process the decision.
|
RequestCancelActivityTaskFailedEventAttributes |
withCause(java.lang.String cause)
The cause of the failure to process the decision.
|
RequestCancelActivityTaskFailedEventAttributes |
withDecisionTaskCompletedEventId(java.lang.Long decisionTaskCompletedEventId)
The id of the
DecisionTaskCompleted event corresponding
to the decision task that resulted in the
RequestCancelActivityTask decision for this cancellation
request. |
public RequestCancelActivityTaskFailedEventAttributes()
public java.lang.String getActivityId()
RequestCancelActivityTask
decision that failed.
Constraints:
Length: 1 - 256
RequestCancelActivityTask
decision that failed.public void setActivityId(java.lang.String activityId)
RequestCancelActivityTask
decision that failed.
Constraints:
Length: 1 - 256
activityId - The activityId provided in the RequestCancelActivityTask
decision that failed.public RequestCancelActivityTaskFailedEventAttributes withActivityId(java.lang.String activityId)
RequestCancelActivityTask
decision that failed.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
activityId - The activityId provided in the RequestCancelActivityTask
decision that failed.public java.lang.String getCause()
Constraints:
Allowed Values: ACTIVITY_ID_UNKNOWN, OPERATION_NOT_PERMITTED
RequestCancelActivityTaskFailedCausepublic void setCause(java.lang.String cause)
Constraints:
Allowed Values: ACTIVITY_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.
RequestCancelActivityTaskFailedCausepublic RequestCancelActivityTaskFailedEventAttributes withCause(java.lang.String cause)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ACTIVITY_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.
RequestCancelActivityTaskFailedCausepublic void setCause(RequestCancelActivityTaskFailedCause cause)
Constraints:
Allowed Values: ACTIVITY_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.
RequestCancelActivityTaskFailedCausepublic RequestCancelActivityTaskFailedEventAttributes withCause(RequestCancelActivityTaskFailedCause cause)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ACTIVITY_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.
RequestCancelActivityTaskFailedCausepublic java.lang.Long getDecisionTaskCompletedEventId()
DecisionTaskCompleted event corresponding
to the decision task that resulted in the
RequestCancelActivityTask decision for this cancellation
request. 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
RequestCancelActivityTask decision for this cancellation
request. 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
RequestCancelActivityTask decision for this cancellation
request. 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
RequestCancelActivityTask decision for this cancellation
request. This information can be useful for diagnosing problems by
tracing back the cause of events.public RequestCancelActivityTaskFailedEventAttributes withDecisionTaskCompletedEventId(java.lang.Long decisionTaskCompletedEventId)
DecisionTaskCompleted event corresponding
to the decision task that resulted in the
RequestCancelActivityTask decision for this cancellation
request. 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
RequestCancelActivityTask decision for this cancellation
request. 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