Interface CapacityReservationTarget.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CapacityReservationTarget.Builder,
,CapacityReservationTarget> SdkBuilder<CapacityReservationTarget.Builder,
,CapacityReservationTarget> SdkPojo
- Enclosing class:
CapacityReservationTarget
public static interface CapacityReservationTarget.Builder
extends SdkPojo, CopyableBuilder<CapacityReservationTarget.Builder,CapacityReservationTarget>
-
Method Summary
Modifier and TypeMethodDescriptioncapacityReservationId
(String capacityReservationId) The ID of the Capacity Reservation in which to run the instance.capacityReservationResourceGroupArn
(String capacityReservationResourceGroupArn) The ARN of the Capacity Reservation resource group in which to run the instance.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, sdkFields
-
Method Details
-
capacityReservationId
The ID of the Capacity Reservation in which to run the instance.
- Parameters:
capacityReservationId
- The ID of the Capacity Reservation in which to run the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityReservationResourceGroupArn
CapacityReservationTarget.Builder capacityReservationResourceGroupArn(String capacityReservationResourceGroupArn) The ARN of the Capacity Reservation resource group in which to run the instance.
- Parameters:
capacityReservationResourceGroupArn
- The ARN of the Capacity Reservation resource group in which to run the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-