Interface HistoryRecord.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<HistoryRecord.Builder,
,HistoryRecord> SdkBuilder<HistoryRecord.Builder,
,HistoryRecord> SdkPojo
- Enclosing class:
HistoryRecord
-
Method Summary
Modifier and TypeMethodDescriptiondefault HistoryRecord.Builder
eventInformation
(Consumer<EventInformation.Builder> eventInformation) Information about the event.eventInformation
(EventInformation eventInformation) Information about the event.The event type.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
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.
-
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
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.
- Parameters:
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.
-
- 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.
-