public class HistoryRecord
extends java.lang.Object
implements java.io.Serializable
Describes an event in the history of the Spot fleet request.
Constructor and Description |
---|
HistoryRecord() |
Modifier and Type | Method and Description |
---|---|
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).
|
public java.util.Date getTimestamp()
public void setTimestamp(java.util.Date timestamp)
timestamp
- The date and time of the event, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ).public HistoryRecord withTimestamp(java.util.Date timestamp)
Returns a reference to this object so that method calls can be chained together.
timestamp
- The date and time of the event, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ).public java.lang.String getEventType()
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.
Constraints:
Allowed Values: instanceChange, fleetRequestChange, error
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(java.lang.String eventType)
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.
Constraints:
Allowed Values: instanceChange, fleetRequestChange, error
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(java.lang.String eventType)
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 a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: instanceChange, fleetRequestChange, error
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)
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.
Constraints:
Allowed Values: instanceChange, fleetRequestChange, error
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)
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 a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: instanceChange, fleetRequestChange, error
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 EventInformation getEventInformation()
public void setEventInformation(EventInformation eventInformation)
eventInformation
- Information about the event.public HistoryRecord withEventInformation(EventInformation eventInformation)
Returns a reference to this object so that method calls can be chained together.
eventInformation
- Information about the event.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.