Interface InterruptionInfo.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<InterruptionInfo.Builder,InterruptionInfo>,SdkBuilder<InterruptionInfo.Builder,InterruptionInfo>,SdkPojo
- Enclosing class:
- InterruptionInfo
@Mutable @NotThreadSafe public static interface InterruptionInfo.Builder extends SdkPojo, CopyableBuilder<InterruptionInfo.Builder,InterruptionInfo>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InterruptionInfo.BuilderinterruptionType(String interruptionType)The interruption type that determines how instances are terminated when capacity is reclaimed.InterruptionInfo.BuilderinterruptionType(InterruptionType interruptionType)The interruption type that determines how instances are terminated when capacity is reclaimed.InterruptionInfo.BuildersourceCapacityReservationId(String sourceCapacityReservationId)The ID of the source Capacity Reservation from which the interruptible reservation was created.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
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
-
-