@Generated(value="software.amazon.awssdk:codegen") public final class HistoryRecordEntry extends Object implements SdkPojo, Serializable, ToCopyableBuilder<HistoryRecordEntry.Builder,HistoryRecordEntry>
Describes an event in the history of an EC2 Fleet.
| Modifier and Type | Class and Description |
|---|---|
static interface |
HistoryRecordEntry.Builder |
| Modifier and Type | Method and Description |
|---|---|
static HistoryRecordEntry.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
EventInformation |
eventInformation()
Information about the event.
|
FleetEventType |
eventType()
The event type.
|
String |
eventTypeAsString()
The event type.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends HistoryRecordEntry.Builder> |
serializableBuilderClass() |
Instant |
timestamp()
The date and time of the event, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ).
|
HistoryRecordEntry.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final EventInformation eventInformation()
Information about the event.
public final FleetEventType eventType()
The event type.
If the service returns an enum value that is not available in the current SDK version, eventType will
return FleetEventType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
eventTypeAsString().
FleetEventTypepublic final String eventTypeAsString()
The event type.
If the service returns an enum value that is not available in the current SDK version, eventType will
return FleetEventType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
eventTypeAsString().
FleetEventTypepublic final Instant timestamp()
The date and time of the event, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
public HistoryRecordEntry.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<HistoryRecordEntry.Builder,HistoryRecordEntry>public static HistoryRecordEntry.Builder builder()
public static Class<? extends HistoryRecordEntry.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.