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
Modifier and TypeMethodDescriptioninterruptionType(String interruptionType) The interruption type that determines how instances are terminated when capacity is reclaimed.interruptionType(InterruptionType interruptionType) The interruption type that determines how instances are terminated when capacity is reclaimed.sourceCapacityReservationId(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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:
-