@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EventSummary extends Object implements Serializable, Cloneable, StructuredPojo
Details about a timeline event during an incident.
Constructor and Description |
---|
EventSummary() |
Modifier and Type | Method and Description |
---|---|
EventSummary |
clone() |
boolean |
equals(Object obj) |
String |
getEventId()
The timeline event ID.
|
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.
|
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 happened during.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEventId(String eventId)
The timeline event ID.
|
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.
|
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 happened during.
|
String |
toString()
Returns a string representation of this object.
|
EventSummary |
withEventId(String eventId)
The timeline event ID.
|
EventSummary |
withEventReferences(Collection<EventReference> eventReferences)
A list of references in a
TimelineEvent . |
EventSummary |
withEventReferences(EventReference... eventReferences)
A list of references in a
TimelineEvent . |
EventSummary |
withEventTime(Date eventTime)
The timestamp for when the event occurred.
|
EventSummary |
withEventType(String eventType)
The type of event.
|
EventSummary |
withEventUpdatedTime(Date eventUpdatedTime)
The timestamp for when the timeline event was last updated.
|
EventSummary |
withIncidentRecordArn(String incidentRecordArn)
The Amazon Resource Name (ARN) of the incident that the event happened during.
|
public void setEventId(String eventId)
The timeline event ID.
eventId
- The timeline event ID.public String getEventId()
The timeline event ID.
public EventSummary withEventId(String eventId)
The timeline event ID.
eventId
- The timeline event ID.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 EventSummary 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 EventSummary 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 EventSummary 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. The timeline event must be Custom Event
or Note
.
eventType
- The type of event. The timeline event must be Custom Event
or Note
.public String getEventType()
The type of event. The timeline event must be Custom Event
or Note
.
Custom Event
or Note
.public EventSummary withEventType(String eventType)
The type of event. The timeline event must be Custom Event
or Note
.
eventType
- The type of event. The timeline event must be Custom Event
or Note
.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 EventSummary 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 happened during.
incidentRecordArn
- The Amazon Resource Name (ARN) of the incident that the event happened during.public String getIncidentRecordArn()
The Amazon Resource Name (ARN) of the incident that the event happened during.
public EventSummary withIncidentRecordArn(String incidentRecordArn)
The Amazon Resource Name (ARN) of the incident that the event happened during.
incidentRecordArn
- The Amazon Resource Name (ARN) of the incident that the event happened during.public String toString()
toString
in class Object
Object.toString()
public EventSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.