@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HistoryRecordEntry extends Object implements Serializable, Cloneable
Describes an event in the history of an EC2 Fleet.
| Constructor and Description |
|---|
HistoryRecordEntry() |
| Modifier and Type | Method and Description |
|---|---|
HistoryRecordEntry |
clone() |
boolean |
equals(Object obj) |
EventInformation |
getEventInformation()
Information about the event.
|
String |
getEventType()
The event type.
|
Date |
getTimestamp()
The date and time of the event, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ).
|
int |
hashCode() |
void |
setEventInformation(EventInformation eventInformation)
Information about the event.
|
void |
setEventType(String eventType)
The event type.
|
void |
setTimestamp(Date timestamp)
The date and time of the event, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ).
|
String |
toString()
Returns a string representation of this object.
|
HistoryRecordEntry |
withEventInformation(EventInformation eventInformation)
Information about the event.
|
HistoryRecordEntry |
withEventType(FleetEventType eventType)
The event type.
|
HistoryRecordEntry |
withEventType(String eventType)
The event type.
|
HistoryRecordEntry |
withTimestamp(Date timestamp)
The date and time of the event, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ).
|
public void setEventInformation(EventInformation eventInformation)
Information about the event.
eventInformation - Information about the event.public EventInformation getEventInformation()
Information about the event.
public HistoryRecordEntry withEventInformation(EventInformation eventInformation)
Information about the event.
eventInformation - Information about the event.public void setEventType(String eventType)
The event type.
eventType - The event type.FleetEventTypepublic String getEventType()
The event type.
FleetEventTypepublic HistoryRecordEntry withEventType(String eventType)
The event type.
eventType - The event type.FleetEventTypepublic HistoryRecordEntry withEventType(FleetEventType eventType)
The event type.
eventType - The event type.FleetEventTypepublic void setTimestamp(Date timestamp)
The date and time of the event, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
timestamp - The date and time of the event, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ).public Date getTimestamp()
The date and time of the event, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
public HistoryRecordEntry withTimestamp(Date timestamp)
The date and time of the event, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
timestamp - The date and time of the event, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ).public String toString()
toString in class ObjectObject.toString()public HistoryRecordEntry clone()