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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method 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(String eventType)
The event type.HistoryRecordEntry.Builder
eventType(FleetEventType 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).-
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 Detail
-
eventInformation
HistoryRecordEntry.Builder eventInformation(EventInformation 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:
eventInformation(EventInformation)
-
eventType
HistoryRecordEntry.Builder eventType(String 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:
FleetEventType
,FleetEventType
-
eventType
HistoryRecordEntry.Builder eventType(FleetEventType 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:
FleetEventType
,FleetEventType
-
timestamp
HistoryRecordEntry.Builder timestamp(Instant 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.
-
-