Interface UpdateInterruptibleCapacityReservationAllocationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateInterruptibleCapacityReservationAllocationResponse.Builder,,UpdateInterruptibleCapacityReservationAllocationResponse> Ec2Response.Builder,SdkBuilder<UpdateInterruptibleCapacityReservationAllocationResponse.Builder,,UpdateInterruptibleCapacityReservationAllocationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateInterruptibleCapacityReservationAllocationResponse
@Mutable
@NotThreadSafe
public static interface UpdateInterruptibleCapacityReservationAllocationResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<UpdateInterruptibleCapacityReservationAllocationResponse.Builder,UpdateInterruptibleCapacityReservationAllocationResponse>
-
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 that was modified.interruptionType(String interruptionType) The interruption type for the interruptible reservation.interruptionType(InterruptionType interruptionType) The interruption type for the interruptible reservation.sourceCapacityReservationId(String sourceCapacityReservationId) The ID of the source Capacity Reservation to which capacity was reclaimed or from which capacity was allocated.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) The requested number of instances for the interruptible Capacity Reservation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
interruptibleCapacityReservationId
UpdateInterruptibleCapacityReservationAllocationResponse.Builder interruptibleCapacityReservationId(String interruptibleCapacityReservationId) The ID of the interruptible Capacity Reservation that was modified.
- Parameters:
interruptibleCapacityReservationId- The ID of the interruptible Capacity Reservation that was modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceCapacityReservationId
UpdateInterruptibleCapacityReservationAllocationResponse.Builder sourceCapacityReservationId(String sourceCapacityReservationId) The ID of the source Capacity Reservation to which capacity was reclaimed or from which capacity was allocated.
- Parameters:
sourceCapacityReservationId- The ID of the source Capacity Reservation to which capacity was reclaimed or from which capacity was allocated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceCount
UpdateInterruptibleCapacityReservationAllocationResponse.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
UpdateInterruptibleCapacityReservationAllocationResponse.Builder targetInstanceCount(Integer targetInstanceCount) The requested number of instances for the interruptible Capacity Reservation.
- Parameters:
targetInstanceCount- The requested number of instances for the interruptible Capacity 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
UpdateInterruptibleCapacityReservationAllocationResponse.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:
-
interruptionType
UpdateInterruptibleCapacityReservationAllocationResponse.Builder interruptionType(String interruptionType) The interruption type for the interruptible reservation.
- Parameters:
interruptionType- The interruption type for the interruptible reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
interruptionType
UpdateInterruptibleCapacityReservationAllocationResponse.Builder interruptionType(InterruptionType interruptionType) The interruption type for the interruptible reservation.
- Parameters:
interruptionType- The interruption type for the interruptible reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-