@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) |
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()
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 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()
.
FleetEventType
public 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()
.
FleetEventType
public Instant timestamp()
The date and time of the event, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
public HistoryRecordEntry.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<HistoryRecordEntry.Builder,HistoryRecordEntry>
public static HistoryRecordEntry.Builder builder()
public static Class<? extends HistoryRecordEntry.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.