Class HistoryRecord
- All Implemented Interfaces:
Serializable
,Cloneable
Describes an event in the history of the Spot fleet request.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Information about the event.The event type.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).toString()
Returns a string representation of this object; useful for testing and debugging.withEventInformation
(EventInformation eventInformation) Information about the event.withEventType
(EventType eventType) The event type.withEventType
(String eventType) The event type.withTimestamp
(Date timestamp) The date and time of the event, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
-
Constructor Details
-
HistoryRecord
public HistoryRecord()
-
-
Method Details
-
setTimestamp
The date and time of the event, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
- Parameters:
timestamp
- The date and time of the event, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
-
getTimestamp
The date and time of the event, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
- Returns:
- The date and time of the event, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
-
withTimestamp
The date and time of the event, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
- Parameters:
timestamp
- The date and time of the event, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEventType
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.
- Parameters:
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.
-
- See Also:
-
-
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.
- Returns:
- 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.
-
- See Also:
-
-
withEventType
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
setEventType
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.
- Parameters:
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.
-
- See Also:
-
-
withEventType
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
setEventInformation
Information about the event.
- Parameters:
eventInformation
- Information about the event.
-
getEventInformation
Information about the event.
- Returns:
- Information about the event.
-
withEventInformation
Information about the event.
- Parameters:
eventInformation
- Information about the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-