public static interface HistoryRecordEntry.Builder extends SdkPojo, CopyableBuilder<HistoryRecordEntry.Builder,HistoryRecordEntry>
Modifier and Type | Method and Description |
---|---|
default HistoryRecordEntry.Builder |
eventInformation(Consumer<EventInformation.Builder> eventInformation)
Information about the event.
|
HistoryRecordEntry.Builder |
eventInformation(EventInformation eventInformation)
Information about the event.
|
HistoryRecordEntry.Builder |
eventType(FleetEventType eventType)
The event type.
|
HistoryRecordEntry.Builder |
eventType(String eventType)
The event type.
|
HistoryRecordEntry.Builder |
timestamp(Instant timestamp)
The date and time of the event, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ).
|
copy
applyMutation, build
HistoryRecordEntry.Builder eventInformation(EventInformation eventInformation)
Information about the event.
eventInformation
- Information about the event.default HistoryRecordEntry.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)
HistoryRecordEntry.Builder eventType(String eventType)
The event type.
eventType
- The event type.FleetEventType
,
FleetEventType
HistoryRecordEntry.Builder eventType(FleetEventType eventType)
The event type.
eventType
- The event type.FleetEventType
,
FleetEventType
HistoryRecordEntry.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.