Interface HistoryRecordEntry.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<HistoryRecordEntry.Builder,
,HistoryRecordEntry> SdkBuilder<HistoryRecordEntry.Builder,
,HistoryRecordEntry> SdkPojo
- Enclosing class:
HistoryRecordEntry
public static interface HistoryRecordEntry.Builder
extends SdkPojo, CopyableBuilder<HistoryRecordEntry.Builder,HistoryRecordEntry>
-
Method Summary
Modifier and TypeMethodDescriptiondefault HistoryRecordEntry.Builder
eventInformation
(Consumer<EventInformation.Builder> eventInformation) Information about the event.eventInformation
(EventInformation eventInformation) Information about the event.The event type.eventType
(FleetEventType eventType) The event type.The date and time of the event, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
eventInformation
Information about the event.
- Parameters:
eventInformation
- Information about the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventInformation
default HistoryRecordEntry.Builder eventInformation(Consumer<EventInformation.Builder> eventInformation) Information about the event.
This is a convenience method that creates an instance of theEventInformation.Builder
avoiding the need to create one manually viaEventInformation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toeventInformation(EventInformation)
.- Parameters:
eventInformation
- a consumer that will call methods onEventInformation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
eventType
The event type.
- Parameters:
eventType
- The event type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
eventType
The event type.
- Parameters:
eventType
- The event type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
timestamp
The date and time of the event, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
- Parameters:
timestamp
- The date and time of the event, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-