@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TimelineEvent extends Object implements Serializable, Cloneable, StructuredPojo
A significant event that happened during the incident.
Constructor and Description |
---|
TimelineEvent() |
Modifier and Type | Method and Description |
---|---|
TimelineEvent |
clone() |
boolean |
equals(Object obj) |
String |
getEventData()
A short description of the event.
|
String |
getEventId()
The ID of the timeline event.
|
List<EventReference> |
getEventReferences()
A list of references in a
TimelineEvent . |
Date |
getEventTime()
The timestamp for when the event occurred.
|
String |
getEventType()
The type of event that occurred.
|
Date |
getEventUpdatedTime()
The timestamp for when the timeline event was last updated.
|
String |
getIncidentRecordArn()
The Amazon Resource Name (ARN) of the incident that the event occurred during.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEventData(String eventData)
A short description of the event.
|
void |
setEventId(String eventId)
The ID of the timeline event.
|
void |
setEventReferences(Collection<EventReference> eventReferences)
A list of references in a
TimelineEvent . |
void |
setEventTime(Date eventTime)
The timestamp for when the event occurred.
|
void |
setEventType(String eventType)
The type of event that occurred.
|
void |
setEventUpdatedTime(Date eventUpdatedTime)
The timestamp for when the timeline event was last updated.
|
void |
setIncidentRecordArn(String incidentRecordArn)
The Amazon Resource Name (ARN) of the incident that the event occurred during.
|
String |
toString()
Returns a string representation of this object.
|
TimelineEvent |
withEventData(String eventData)
A short description of the event.
|
TimelineEvent |
withEventId(String eventId)
The ID of the timeline event.
|
TimelineEvent |
withEventReferences(Collection<EventReference> eventReferences)
A list of references in a
TimelineEvent . |
TimelineEvent |
withEventReferences(EventReference... eventReferences)
A list of references in a
TimelineEvent . |
TimelineEvent |
withEventTime(Date eventTime)
The timestamp for when the event occurred.
|
TimelineEvent |
withEventType(String eventType)
The type of event that occurred.
|
TimelineEvent |
withEventUpdatedTime(Date eventUpdatedTime)
The timestamp for when the timeline event was last updated.
|
TimelineEvent |
withIncidentRecordArn(String incidentRecordArn)
The Amazon Resource Name (ARN) of the incident that the event occurred during.
|
public void setEventData(String eventData)
A short description of the event.
eventData
- A short description of the event.public String getEventData()
A short description of the event.
public TimelineEvent withEventData(String eventData)
A short description of the event.
eventData
- A short description of the event.public void setEventId(String eventId)
The ID of the timeline event.
eventId
- The ID of the timeline event.public String getEventId()
The ID of the timeline event.
public TimelineEvent withEventId(String eventId)
The ID of the timeline event.
eventId
- The ID of the timeline event.public List<EventReference> getEventReferences()
A list of references in a TimelineEvent
.
TimelineEvent
.public void setEventReferences(Collection<EventReference> eventReferences)
A list of references in a TimelineEvent
.
eventReferences
- A list of references in a TimelineEvent
.public TimelineEvent withEventReferences(EventReference... eventReferences)
A list of references in a TimelineEvent
.
NOTE: This method appends the values to the existing list (if any). Use
setEventReferences(java.util.Collection)
or withEventReferences(java.util.Collection)
if you
want to override the existing values.
eventReferences
- A list of references in a TimelineEvent
.public TimelineEvent withEventReferences(Collection<EventReference> eventReferences)
A list of references in a TimelineEvent
.
eventReferences
- A list of references in a TimelineEvent
.public void setEventTime(Date eventTime)
The timestamp for when the event occurred.
eventTime
- The timestamp for when the event occurred.public Date getEventTime()
The timestamp for when the event occurred.
public TimelineEvent withEventTime(Date eventTime)
The timestamp for when the event occurred.
eventTime
- The timestamp for when the event occurred.public void setEventType(String eventType)
The type of event that occurred. Currently Incident Manager supports only the Custom Event
and
Note
types.
eventType
- The type of event that occurred. Currently Incident Manager supports only the Custom Event
and Note
types.public String getEventType()
The type of event that occurred. Currently Incident Manager supports only the Custom Event
and
Note
types.
Custom Event
and Note
types.public TimelineEvent withEventType(String eventType)
The type of event that occurred. Currently Incident Manager supports only the Custom Event
and
Note
types.
eventType
- The type of event that occurred. Currently Incident Manager supports only the Custom Event
and Note
types.public void setEventUpdatedTime(Date eventUpdatedTime)
The timestamp for when the timeline event was last updated.
eventUpdatedTime
- The timestamp for when the timeline event was last updated.public Date getEventUpdatedTime()
The timestamp for when the timeline event was last updated.
public TimelineEvent withEventUpdatedTime(Date eventUpdatedTime)
The timestamp for when the timeline event was last updated.
eventUpdatedTime
- The timestamp for when the timeline event was last updated.public void setIncidentRecordArn(String incidentRecordArn)
The Amazon Resource Name (ARN) of the incident that the event occurred during.
incidentRecordArn
- The Amazon Resource Name (ARN) of the incident that the event occurred during.public String getIncidentRecordArn()
The Amazon Resource Name (ARN) of the incident that the event occurred during.
public TimelineEvent withIncidentRecordArn(String incidentRecordArn)
The Amazon Resource Name (ARN) of the incident that the event occurred during.
incidentRecordArn
- The Amazon Resource Name (ARN) of the incident that the event occurred during.public String toString()
toString
in class Object
Object.toString()
public TimelineEvent clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.