@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.
|
Date |
getEventTime()
The time that the event occurred.
|
String |
getEventType()
The type of event.
|
Date |
getEventUpdatedTime()
The time that 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 |
setEventTime(Date eventTime)
The time that the event occurred.
|
void |
setEventType(String eventType)
The type of event.
|
void |
setEventUpdatedTime(Date eventUpdatedTime)
The time that 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 |
withEventTime(Date eventTime)
The time that the event occurred.
|
EventSummary |
withEventType(String eventType)
The type of event.
|
EventSummary |
withEventUpdatedTime(Date eventUpdatedTime)
The time that 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 void setEventTime(Date eventTime)
The time that the event occurred.
eventTime
- The time that the event occurred.public Date getEventTime()
The time that the event occurred.
public EventSummary withEventTime(Date eventTime)
The time that the event occurred.
eventTime
- The time that the event occurred.public void setEventType(String eventType)
The type of event. The timeline event must be Custom Event
.
eventType
- The type of event. The timeline event must be Custom Event
.public String getEventType()
The type of event. The timeline event must be Custom Event
.
Custom Event
.public EventSummary withEventType(String eventType)
The type of event. The timeline event must be Custom Event
.
eventType
- The type of event. The timeline event must be Custom Event
.public void setEventUpdatedTime(Date eventUpdatedTime)
The time that the timeline event was last updated.
eventUpdatedTime
- The time that the timeline event was last updated.public Date getEventUpdatedTime()
The time that the timeline event was last updated.
public EventSummary withEventUpdatedTime(Date eventUpdatedTime)
The time that the timeline event was last updated.
eventUpdatedTime
- The time that 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.