public class HistoryRecord
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes an event in the history of the Spot fleet request.
Modifier and Type | Field and Description |
---|---|
private EventInformation |
eventInformation
Information about the event.
|
private java.lang.String |
eventType
The event type.
|
private java.util.Date |
timestamp
The date and time of the event, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ).
|
Constructor and Description |
---|
HistoryRecord() |
Modifier and Type | Method and Description |
---|---|
HistoryRecord |
clone() |
boolean |
equals(java.lang.Object obj) |
EventInformation |
getEventInformation()
Information about the event.
|
java.lang.String |
getEventType()
The event type.
|
java.util.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(EventType eventType)
The event type.
|
void |
setEventType(java.lang.String eventType)
The event type.
|
void |
setTimestamp(java.util.Date timestamp)
The date and time of the event, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ).
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
HistoryRecord |
withEventInformation(EventInformation eventInformation)
Information about the event.
|
HistoryRecord |
withEventType(EventType eventType)
The event type.
|
HistoryRecord |
withEventType(java.lang.String eventType)
The event type.
|
HistoryRecord |
withTimestamp(java.util.Date timestamp)
The date and time of the event, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ).
|
private java.util.Date timestamp
The date and time of the event, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
private java.lang.String eventType
The event type.
error
- Indicates an error with the Spot fleet request.
fleetRequestChange
- Indicates a change in the status or
configuration of the Spot fleet request.
instanceChange
- Indicates that an instance was launched or
terminated.
private EventInformation eventInformation
Information about the event.
public void setTimestamp(java.util.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 java.util.Date getTimestamp()
The date and time of the event, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
public HistoryRecord withTimestamp(java.util.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 void setEventType(java.lang.String eventType)
The event type.
error
- Indicates an error with the Spot fleet request.
fleetRequestChange
- Indicates a change in the status or
configuration of the Spot fleet request.
instanceChange
- Indicates that an instance was launched or
terminated.
eventType
- The event type.
error
- Indicates an error with the Spot fleet
request.
fleetRequestChange
- Indicates a change in the status
or configuration of the Spot fleet request.
instanceChange
- Indicates that an instance was
launched or terminated.
EventType
public java.lang.String getEventType()
The event type.
error
- Indicates an error with the Spot fleet request.
fleetRequestChange
- Indicates a change in the status or
configuration of the Spot fleet request.
instanceChange
- Indicates that an instance was launched or
terminated.
error
- Indicates an error with the Spot fleet
request.
fleetRequestChange
- Indicates a change in the
status or configuration of the Spot fleet request.
instanceChange
- Indicates that an instance was
launched or terminated.
EventType
public HistoryRecord withEventType(java.lang.String eventType)
The event type.
error
- Indicates an error with the Spot fleet request.
fleetRequestChange
- Indicates a change in the status or
configuration of the Spot fleet request.
instanceChange
- Indicates that an instance was launched or
terminated.
eventType
- The event type.
error
- Indicates an error with the Spot fleet
request.
fleetRequestChange
- Indicates a change in the status
or configuration of the Spot fleet request.
instanceChange
- Indicates that an instance was
launched or terminated.
EventType
public void setEventType(EventType eventType)
The event type.
error
- Indicates an error with the Spot fleet request.
fleetRequestChange
- Indicates a change in the status or
configuration of the Spot fleet request.
instanceChange
- Indicates that an instance was launched or
terminated.
eventType
- The event type.
error
- Indicates an error with the Spot fleet
request.
fleetRequestChange
- Indicates a change in the status
or configuration of the Spot fleet request.
instanceChange
- Indicates that an instance was
launched or terminated.
EventType
public HistoryRecord withEventType(EventType eventType)
The event type.
error
- Indicates an error with the Spot fleet request.
fleetRequestChange
- Indicates a change in the status or
configuration of the Spot fleet request.
instanceChange
- Indicates that an instance was launched or
terminated.
eventType
- The event type.
error
- Indicates an error with the Spot fleet
request.
fleetRequestChange
- Indicates a change in the status
or configuration of the Spot fleet request.
instanceChange
- Indicates that an instance was
launched or terminated.
EventType
public void setEventInformation(EventInformation eventInformation)
Information about the event.
eventInformation
- Information about the event.public EventInformation getEventInformation()
Information about the event.
public HistoryRecord withEventInformation(EventInformation eventInformation)
Information about the event.
eventInformation
- Information about the 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 HistoryRecord clone()
clone
in class java.lang.Object