Interface InterruptionInfo.Builder

    • Method Detail

      • sourceCapacityReservationId

        InterruptionInfo.Builder sourceCapacityReservationId​(String sourceCapacityReservationId)

        The ID of the source Capacity Reservation from which the interruptible reservation was created.

        Parameters:
        sourceCapacityReservationId - The ID of the source Capacity Reservation from which the interruptible reservation was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • interruptionType

        InterruptionInfo.Builder interruptionType​(String interruptionType)

        The interruption type that determines how instances are terminated when capacity is reclaimed.

        Parameters:
        interruptionType - The interruption type that determines how instances are terminated when capacity is reclaimed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        InterruptionType, InterruptionType
      • interruptionType

        InterruptionInfo.Builder interruptionType​(InterruptionType interruptionType)

        The interruption type that determines how instances are terminated when capacity is reclaimed.

        Parameters:
        interruptionType - The interruption type that determines how instances are terminated when capacity is reclaimed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        InterruptionType, InterruptionType