Interface InterruptibleCapacityAllocation.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<InterruptibleCapacityAllocation.Builder,,InterruptibleCapacityAllocation> SdkBuilder<InterruptibleCapacityAllocation.Builder,,InterruptibleCapacityAllocation> SdkPojo
- Enclosing class:
InterruptibleCapacityAllocation
@Mutable
@NotThreadSafe
public static interface InterruptibleCapacityAllocation.Builder
extends SdkPojo, CopyableBuilder<InterruptibleCapacityAllocation.Builder,InterruptibleCapacityAllocation>
-
Method Summary
Modifier and TypeMethodDescriptioninstanceCount(Integer instanceCount) The current number of instances allocated to the interruptible reservation.interruptibleCapacityReservationId(String interruptibleCapacityReservationId) The ID of the interruptible Capacity Reservation created from the allocation.interruptionType(String interruptionType) The type of interruption policy applied to the interruptible reservation.interruptionType(InterruptionType interruptionType) The type of interruption policy applied to the interruptible reservation.The current status of the allocation (updating during reclamation, active when complete).The current status of the allocation (updating during reclamation, active when complete).targetInstanceCount(Integer targetInstanceCount) After your modify request, the requested number of instances allocated to interruptible reservation.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
-
instanceCount
The current number of instances allocated to the interruptible reservation.
- Parameters:
instanceCount- The current number of instances allocated to the interruptible reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetInstanceCount
After your modify request, the requested number of instances allocated to interruptible reservation.
- Parameters:
targetInstanceCount- After your modify request, the requested number of instances allocated to interruptible reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the allocation (updating during reclamation, active when complete).
- Parameters:
status- The current status of the allocation (updating during reclamation, active when complete).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
InterruptibleCapacityAllocation.Builder status(InterruptibleCapacityReservationAllocationStatus status) The current status of the allocation (updating during reclamation, active when complete).
- Parameters:
status- The current status of the allocation (updating during reclamation, active when complete).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
interruptibleCapacityReservationId
InterruptibleCapacityAllocation.Builder interruptibleCapacityReservationId(String interruptibleCapacityReservationId) The ID of the interruptible Capacity Reservation created from the allocation.
- Parameters:
interruptibleCapacityReservationId- The ID of the interruptible Capacity Reservation created from the allocation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
interruptionType
The type of interruption policy applied to the interruptible reservation.
- Parameters:
interruptionType- The type of interruption policy applied to the interruptible reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
interruptionType
The type of interruption policy applied to the interruptible reservation.
- Parameters:
interruptionType- The type of interruption policy applied to the interruptible reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-