public static interface HistoryRecord.Builder extends SdkPojo, CopyableBuilder<HistoryRecord.Builder,HistoryRecord>
Modifier and Type | Method and Description |
---|---|
default HistoryRecord.Builder |
eventInformation(Consumer<EventInformation.Builder> eventInformation)
Information about the event.
|
HistoryRecord.Builder |
eventInformation(EventInformation eventInformation)
Information about the event.
|
HistoryRecord.Builder |
eventType(EventType eventType)
The event type.
|
HistoryRecord.Builder |
eventType(String eventType)
The event type.
|
HistoryRecord.Builder |
timestamp(Instant timestamp)
The date and time of the event, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ).
|
copy
applyMutation, build
HistoryRecord.Builder eventInformation(EventInformation eventInformation)
Information about the event.
eventInformation
- Information about the event.default HistoryRecord.Builder eventInformation(Consumer<EventInformation.Builder> eventInformation)
Information about the event.
This is a convenience that creates an instance of theEventInformation.Builder
avoiding the need to
create one manually via EventInformation.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to eventInformation(EventInformation)
.eventInformation
- a consumer that will call methods on EventInformation.Builder
eventInformation(EventInformation)
HistoryRecord.Builder eventType(String 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.
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.
EventType
,
EventType
HistoryRecord.Builder eventType(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.
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.
EventType
,
EventType
HistoryRecord.Builder timestamp(Instant timestamp)
The date and time of the event, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
timestamp
- The date and time of the event, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ).Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.