Interface UpdateInterruptibleCapacityReservationAllocationRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateInterruptibleCapacityReservationAllocationRequest.Builder,UpdateInterruptibleCapacityReservationAllocationRequest>,Ec2Request.Builder,SdkBuilder<UpdateInterruptibleCapacityReservationAllocationRequest.Builder,UpdateInterruptibleCapacityReservationAllocationRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateInterruptibleCapacityReservationAllocationRequest
@Mutable @NotThreadSafe public static interface UpdateInterruptibleCapacityReservationAllocationRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<UpdateInterruptibleCapacityReservationAllocationRequest.Builder,UpdateInterruptibleCapacityReservationAllocationRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateInterruptibleCapacityReservationAllocationRequest.BuildercapacityReservationId(String capacityReservationId)The ID of the source Capacity Reservation containing the interruptible allocation to modify.UpdateInterruptibleCapacityReservationAllocationRequest.BuilderdryRun(Boolean dryRun)Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.UpdateInterruptibleCapacityReservationAllocationRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateInterruptibleCapacityReservationAllocationRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateInterruptibleCapacityReservationAllocationRequest.BuildertargetInstanceCount(Integer targetInstanceCount)The new number of instances to allocate.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Request.Builder
build
-
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
-
capacityReservationId
UpdateInterruptibleCapacityReservationAllocationRequest.Builder capacityReservationId(String capacityReservationId)
The ID of the source Capacity Reservation containing the interruptible allocation to modify.
- Parameters:
capacityReservationId- The ID of the source Capacity Reservation containing the interruptible allocation to modify.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetInstanceCount
UpdateInterruptibleCapacityReservationAllocationRequest.Builder targetInstanceCount(Integer targetInstanceCount)
The new number of instances to allocate. Enter a higher number to add more capacity to share, or a lower number to reclaim capacity to your source Capacity Reservation.
- Parameters:
targetInstanceCount- The new number of instances to allocate. Enter a higher number to add more capacity to share, or a lower number to reclaim capacity to your source Capacity Reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dryRun
UpdateInterruptibleCapacityReservationAllocationRequest.Builder dryRun(Boolean dryRun)
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.
- Parameters:
dryRun- Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateInterruptibleCapacityReservationAllocationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateInterruptibleCapacityReservationAllocationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-