public class RecordMarkerFailedEventAttributes extends Object implements Serializable, Cloneable
Provides details of the RecordMarkerFailed
event.
Constructor and Description |
---|
RecordMarkerFailedEventAttributes() |
Modifier and Type | Method and Description |
---|---|
RecordMarkerFailedEventAttributes |
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 RecordMarkerFailed
decision for this cancellation request. |
String |
getMarkerName()
The marker's name.
|
int |
hashCode() |
void |
setCause(RecordMarkerFailedCause 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 RecordMarkerFailed
decision for this cancellation request. |
void |
setMarkerName(String markerName)
The marker's name.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RecordMarkerFailedEventAttributes |
withCause(RecordMarkerFailedCause cause)
The cause of the failure.
|
RecordMarkerFailedEventAttributes |
withCause(String cause)
The cause of the failure.
|
RecordMarkerFailedEventAttributes |
withDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
The ID of the
DecisionTaskCompleted event corresponding to
the decision task that resulted in the RecordMarkerFailed
decision for this cancellation request. |
RecordMarkerFailedEventAttributes |
withMarkerName(String markerName)
The marker's name.
|
public void setMarkerName(String markerName)
The marker's name.
markerName
- The marker's name.public String getMarkerName()
The marker's name.
public RecordMarkerFailedEventAttributes withMarkerName(String markerName)
The marker's name.
markerName
- The marker's name.public void setCause(String cause)
The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.
cause
- The cause of the failure. This information is generated by the
system and can be useful for diagnostic purposes. RecordMarkerFailedCause
public String getCause()
The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.
RecordMarkerFailedCause
public RecordMarkerFailedEventAttributes withCause(String cause)
The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.
cause
- The cause of the failure. This information is generated by the
system and can be useful for diagnostic purposes. RecordMarkerFailedCause
public void setCause(RecordMarkerFailedCause cause)
The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.
cause
- The cause of the failure. This information is generated by the
system and can be useful for diagnostic purposes. RecordMarkerFailedCause
public RecordMarkerFailedEventAttributes withCause(RecordMarkerFailedCause cause)
The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.
cause
- The cause of the failure. This information is generated by the
system and can be useful for diagnostic purposes. RecordMarkerFailedCause
public void setDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
The ID of the DecisionTaskCompleted
event corresponding to
the decision task that resulted in the RecordMarkerFailed
decision for this cancellation request. 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
RecordMarkerFailed
decision for this cancellation
request. This information can be useful for diagnosing problems by
tracing back the chain of events leading up to this event.public Long getDecisionTaskCompletedEventId()
The ID of the DecisionTaskCompleted
event corresponding to
the decision task that resulted in the RecordMarkerFailed
decision for this cancellation request. 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
RecordMarkerFailed
decision for this cancellation
request. This information can be useful for diagnosing problems
by tracing back the chain of events leading up to this event.public RecordMarkerFailedEventAttributes withDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
The ID of the DecisionTaskCompleted
event corresponding to
the decision task that resulted in the RecordMarkerFailed
decision for this cancellation request. 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
RecordMarkerFailed
decision for this cancellation
request. 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 Object
Object.toString()
public RecordMarkerFailedEventAttributes clone()
Copyright © 2018. All rights reserved.