@Generated(value="software.amazon.awssdk:codegen") public class HistoryRecord extends Object implements ToCopyableBuilder<HistoryRecord.Builder,HistoryRecord>
Describes an event in the history of the Spot fleet request.
Modifier and Type | Class and Description |
---|---|
static interface |
HistoryRecord.Builder |
Modifier and Type | Method and Description |
---|---|
static HistoryRecord.Builder |
builder() |
boolean |
equals(Object obj) |
EventInformation |
eventInformation()
Information about the event.
|
EventType |
eventType()
The event type.
|
String |
eventTypeString()
The event type.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
static Class<? extends HistoryRecord.Builder> |
serializableBuilderClass() |
Instant |
timestamp()
The date and time of the event, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ).
|
HistoryRecord.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public EventInformation eventInformation()
Information about the event.
public 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.
If the service returns an enum value that is not available in the current SDK version, eventType
will
return EventType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
eventTypeString()
.
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 eventTypeString()
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.
If the service returns an enum value that is not available in the current SDK version, eventType
will
return EventType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
eventTypeString()
.
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 Instant timestamp()
The date and time of the event, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
public HistoryRecord.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<HistoryRecord.Builder,HistoryRecord>
public static HistoryRecord.Builder builder()
public static Class<? extends HistoryRecord.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.