Interface CreateInterruptibleCapacityReservationAllocationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateInterruptibleCapacityReservationAllocationResponse.Builder,,CreateInterruptibleCapacityReservationAllocationResponse> Ec2Response.Builder,SdkBuilder<CreateInterruptibleCapacityReservationAllocationResponse.Builder,,CreateInterruptibleCapacityReservationAllocationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateInterruptibleCapacityReservationAllocationResponse
@Mutable
@NotThreadSafe
public static interface CreateInterruptibleCapacityReservationAllocationResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<CreateInterruptibleCapacityReservationAllocationResponse.Builder,CreateInterruptibleCapacityReservationAllocationResponse>
-
Method Summary
Modifier and TypeMethodDescriptioninterruptionType(String interruptionType) The type of interruption applied to the interruptible reservation.interruptionType(InterruptionType interruptionType) The type of interruption applied to the interruptible reservation.sourceCapacityReservationId(String sourceCapacityReservationId) The ID of the source Capacity Reservation from which the interruptible Capacity Reservation was created.The current status of the allocation request (creating, active, updating).The current status of the allocation request (creating, active, updating).targetInstanceCount(Integer targetInstanceCount) The number of instances allocated to the interruptible 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
-
sourceCapacityReservationId
CreateInterruptibleCapacityReservationAllocationResponse.Builder sourceCapacityReservationId(String sourceCapacityReservationId) The ID of the source Capacity Reservation from which the interruptible Capacity Reservation was created.
- Parameters:
sourceCapacityReservationId- The ID of the source Capacity Reservation from which the interruptible Capacity Reservation was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetInstanceCount
CreateInterruptibleCapacityReservationAllocationResponse.Builder targetInstanceCount(Integer targetInstanceCount) The number of instances allocated to the interruptible reservation.
- Parameters:
targetInstanceCount- The number of instances allocated to the interruptible reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the allocation request (creating, active, updating).
- Parameters:
status- The current status of the allocation request (creating, active, updating).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
CreateInterruptibleCapacityReservationAllocationResponse.Builder status(InterruptibleCapacityReservationAllocationStatus status) The current status of the allocation request (creating, active, updating).
- Parameters:
status- The current status of the allocation request (creating, active, updating).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
interruptionType
CreateInterruptibleCapacityReservationAllocationResponse.Builder interruptionType(String interruptionType) The type of interruption applied to the interruptible reservation.
- Parameters:
interruptionType- The type of interruption applied to the interruptible reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
interruptionType
CreateInterruptibleCapacityReservationAllocationResponse.Builder interruptionType(InterruptionType interruptionType) The type of interruption applied to the interruptible reservation.
- Parameters:
interruptionType- The type of interruption applied to the interruptible reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-