Interface HistoryRecord.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<HistoryRecord.Builder,HistoryRecord>
,SdkBuilder<HistoryRecord.Builder,HistoryRecord>
,SdkPojo
- Enclosing class:
- HistoryRecord
public static interface HistoryRecord.Builder extends SdkPojo, CopyableBuilder<HistoryRecord.Builder,HistoryRecord>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method 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(String eventType)
The event type.HistoryRecord.Builder
eventType(EventType 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).-
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
HistoryRecord.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 HistoryRecord.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
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.
- 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
,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.
- 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
,EventType
-
-
timestamp
HistoryRecord.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.
-
-