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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InterruptibleCapacityAllocation.BuilderinstanceCount(Integer instanceCount)The current number of instances allocated to the interruptible reservation.InterruptibleCapacityAllocation.BuilderinterruptibleCapacityReservationId(String interruptibleCapacityReservationId)The ID of the interruptible Capacity Reservation created from the allocation.InterruptibleCapacityAllocation.BuilderinterruptionType(String interruptionType)The type of interruption policy applied to the interruptible reservation.InterruptibleCapacityAllocation.BuilderinterruptionType(InterruptionType interruptionType)The type of interruption policy applied to the interruptible reservation.InterruptibleCapacityAllocation.Builderstatus(String status)The current status of the allocation (updating during reclamation, active when complete).InterruptibleCapacityAllocation.Builderstatus(InterruptibleCapacityReservationAllocationStatus status)The current status of the allocation (updating during reclamation, active when complete).InterruptibleCapacityAllocation.BuildertargetInstanceCount(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
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
-
instanceCount
InterruptibleCapacityAllocation.Builder instanceCount(Integer 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
InterruptibleCapacityAllocation.Builder targetInstanceCount(Integer 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
InterruptibleCapacityAllocation.Builder status(String 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:
InterruptibleCapacityReservationAllocationStatus,InterruptibleCapacityReservationAllocationStatus
-
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:
InterruptibleCapacityReservationAllocationStatus,InterruptibleCapacityReservationAllocationStatus
-
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
InterruptibleCapacityAllocation.Builder interruptionType(String 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,InterruptionType
-
interruptionType
InterruptibleCapacityAllocation.Builder interruptionType(InterruptionType 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,InterruptionType
-
-