public class MarkerRecordedEventAttributes
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Provides details of the MarkerRecorded
event.
Modifier and Type | Field and Description |
---|---|
private java.lang.Long |
decisionTaskCompletedEventId
The ID of the
DecisionTaskCompleted event corresponding to
the decision task that resulted in the RecordMarker decision
that requested this marker. |
private java.lang.String |
details
Details of the marker (if any).
|
private java.lang.String |
markerName
The name of the marker.
|
Constructor and Description |
---|
MarkerRecordedEventAttributes() |
Modifier and Type | Method and Description |
---|---|
MarkerRecordedEventAttributes |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Long |
getDecisionTaskCompletedEventId()
The ID of the
DecisionTaskCompleted event corresponding to
the decision task that resulted in the RecordMarker decision
that requested this marker. |
java.lang.String |
getDetails()
Details of the marker (if any).
|
java.lang.String |
getMarkerName()
The name of the marker.
|
int |
hashCode() |
void |
setDecisionTaskCompletedEventId(java.lang.Long decisionTaskCompletedEventId)
The ID of the
DecisionTaskCompleted event corresponding to
the decision task that resulted in the RecordMarker decision
that requested this marker. |
void |
setDetails(java.lang.String details)
Details of the marker (if any).
|
void |
setMarkerName(java.lang.String markerName)
The name of the marker.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
MarkerRecordedEventAttributes |
withDecisionTaskCompletedEventId(java.lang.Long decisionTaskCompletedEventId)
The ID of the
DecisionTaskCompleted event corresponding to
the decision task that resulted in the RecordMarker decision
that requested this marker. |
MarkerRecordedEventAttributes |
withDetails(java.lang.String details)
Details of the marker (if any).
|
MarkerRecordedEventAttributes |
withMarkerName(java.lang.String markerName)
The name of the marker.
|
private java.lang.String markerName
The name of the marker.
private java.lang.String details
Details of the marker (if any).
private java.lang.Long decisionTaskCompletedEventId
The ID of the DecisionTaskCompleted
event corresponding to
the decision task that resulted in the RecordMarker
decision
that requested this marker. This information can be useful for diagnosing
problems by tracing back the chain of events leading up to this event.
public void setMarkerName(java.lang.String markerName)
The name of the marker.
markerName
- The name of the marker.public java.lang.String getMarkerName()
The name of the marker.
public MarkerRecordedEventAttributes withMarkerName(java.lang.String markerName)
The name of the marker.
markerName
- The name of the marker.public void setDetails(java.lang.String details)
Details of the marker (if any).
details
- Details of the marker (if any).public java.lang.String getDetails()
Details of the marker (if any).
public MarkerRecordedEventAttributes withDetails(java.lang.String details)
Details of the marker (if any).
details
- Details of the marker (if any).public void setDecisionTaskCompletedEventId(java.lang.Long decisionTaskCompletedEventId)
The ID of the DecisionTaskCompleted
event corresponding to
the decision task that resulted in the RecordMarker
decision
that requested this marker. 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
RecordMarker
decision that requested this marker.
This information can be useful for diagnosing problems by tracing
back the chain of events leading up to this event.public java.lang.Long getDecisionTaskCompletedEventId()
The ID of the DecisionTaskCompleted
event corresponding to
the decision task that resulted in the RecordMarker
decision
that requested this marker. 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
RecordMarker
decision that requested this marker.
This information can be useful for diagnosing problems by tracing
back the chain of events leading up to this event.public MarkerRecordedEventAttributes withDecisionTaskCompletedEventId(java.lang.Long decisionTaskCompletedEventId)
The ID of the DecisionTaskCompleted
event corresponding to
the decision task that resulted in the RecordMarker
decision
that requested this marker. 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
RecordMarker
decision that requested this marker.
This information can be useful for diagnosing problems by tracing
back the chain of events leading up to this event.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public MarkerRecordedEventAttributes clone()
clone
in class java.lang.Object