@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HistoryRecord extends Object implements Serializable, Cloneable
Describes an event in the history of the Spot Fleet request.
Constructor and Description |
---|
HistoryRecord() |
Modifier and Type | Method and Description |
---|---|
HistoryRecord |
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(EventType eventType)
The event type.
|
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.
|
HistoryRecord |
withEventInformation(EventInformation eventInformation)
Information about the event.
|
HistoryRecord |
withEventType(EventType eventType)
The event type.
|
HistoryRecord |
withEventType(String eventType)
The event type.
|
HistoryRecord |
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 HistoryRecord withEventInformation(EventInformation eventInformation)
Information about the event.
eventInformation
- Information about the event.public void setEventType(String eventType)
The event type.
error
- An error with the Spot Fleet request.
fleetRequestChange
- A change in the status or configuration of the Spot Fleet request.
instanceChange
- An instance was launched or terminated.
Information
- An informational event.
eventType
- The event type.
error
- An error with the Spot Fleet request.
fleetRequestChange
- A change in the status or configuration of the Spot Fleet request.
instanceChange
- An instance was launched or terminated.
Information
- An informational event.
EventType
public String getEventType()
The event type.
error
- An error with the Spot Fleet request.
fleetRequestChange
- A change in the status or configuration of the Spot Fleet request.
instanceChange
- An instance was launched or terminated.
Information
- An informational event.
error
- An error with the Spot Fleet request.
fleetRequestChange
- A change in the status or configuration of the Spot Fleet request.
instanceChange
- An instance was launched or terminated.
Information
- An informational event.
EventType
public HistoryRecord withEventType(String eventType)
The event type.
error
- An error with the Spot Fleet request.
fleetRequestChange
- A change in the status or configuration of the Spot Fleet request.
instanceChange
- An instance was launched or terminated.
Information
- An informational event.
eventType
- The event type.
error
- An error with the Spot Fleet request.
fleetRequestChange
- A change in the status or configuration of the Spot Fleet request.
instanceChange
- An instance was launched or terminated.
Information
- An informational event.
EventType
public void setEventType(EventType eventType)
The event type.
error
- An error with the Spot Fleet request.
fleetRequestChange
- A change in the status or configuration of the Spot Fleet request.
instanceChange
- An instance was launched or terminated.
Information
- An informational event.
eventType
- The event type.
error
- An error with the Spot Fleet request.
fleetRequestChange
- A change in the status or configuration of the Spot Fleet request.
instanceChange
- An instance was launched or terminated.
Information
- An informational event.
EventType
public HistoryRecord withEventType(EventType eventType)
The event type.
error
- An error with the Spot Fleet request.
fleetRequestChange
- A change in the status or configuration of the Spot Fleet request.
instanceChange
- An instance was launched or terminated.
Information
- An informational event.
eventType
- The event type.
error
- An error with the Spot Fleet request.
fleetRequestChange
- A change in the status or configuration of the Spot Fleet request.
instanceChange
- An instance was launched or terminated.
Information
- An informational event.
EventType
public 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 HistoryRecord 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 Object
Object.toString()
public HistoryRecord clone()