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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateInterruptibleCapacityReservationAllocationResponse.BuilderinstanceCount(Integer instanceCount)The current number of instances allocated to the interruptible reservation.UpdateInterruptibleCapacityReservationAllocationResponse.BuilderinterruptibleCapacityReservationId(String interruptibleCapacityReservationId)The ID of the interruptible Capacity Reservation that was modified.UpdateInterruptibleCapacityReservationAllocationResponse.BuilderinterruptionType(String interruptionType)The interruption type for the interruptible reservation.UpdateInterruptibleCapacityReservationAllocationResponse.BuilderinterruptionType(InterruptionType interruptionType)The interruption type for the interruptible reservation.UpdateInterruptibleCapacityReservationAllocationResponse.BuildersourceCapacityReservationId(String sourceCapacityReservationId)The ID of the source Capacity Reservation to which capacity was reclaimed or from which capacity was allocated.UpdateInterruptibleCapacityReservationAllocationResponse.Builderstatus(String status)The current status of the allocation (updating during reclamation, active when complete).UpdateInterruptibleCapacityReservationAllocationResponse.Builderstatus(InterruptibleCapacityReservationAllocationStatus status)The current status of the allocation (updating during reclamation, active when complete).UpdateInterruptibleCapacityReservationAllocationResponse.BuildertargetInstanceCount(Integer targetInstanceCount)The requested number of instances for the interruptible Capacity Reservation.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
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
UpdateInterruptibleCapacityReservationAllocationResponse.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
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:
InterruptibleCapacityReservationAllocationStatus,InterruptibleCapacityReservationAllocationStatus
-
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,InterruptionType
-
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:
InterruptionType,InterruptionType
-
-