Class HistoryRecord
- java.lang.Object
-
- software.amazon.awssdk.services.ec2.model.HistoryRecord
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<HistoryRecord.Builder,HistoryRecord>
@Generated("software.amazon.awssdk:codegen") public final class HistoryRecord extends Object implements SdkPojo, Serializable, ToCopyableBuilder<HistoryRecord.Builder,HistoryRecord>
Describes an event in the history of the Spot Fleet request.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceHistoryRecord.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HistoryRecord.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)EventInformationeventInformation()Information about the event.EventTypeeventType()The event type.StringeventTypeAsString()The event type.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends HistoryRecord.Builder>serializableBuilderClass()Instanttimestamp()The date and time of the event, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).HistoryRecord.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
eventInformation
public final EventInformation eventInformation()
Information about the event.
- Returns:
- Information about the event.
-
eventType
public final 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,
eventTypewill returnEventType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromeventTypeAsString().- Returns:
- 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.
-
- See Also:
EventType
-
-
eventTypeAsString
public final String eventTypeAsString()
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,
eventTypewill returnEventType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromeventTypeAsString().- Returns:
- 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.
-
- See Also:
EventType
-
-
timestamp
public final Instant timestamp()
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).
-
toBuilder
public HistoryRecord.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<HistoryRecord.Builder,HistoryRecord>
-
builder
public static HistoryRecord.Builder builder()
-
serializableBuilderClass
public static Class<? extends HistoryRecord.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-