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 Details

    • 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 the EventInformation.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).

      Parameters:
      eventInformation - a consumer that will call methods on EventInformation.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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:
    • 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.