@Stability(value=Stable) public static final class CfnLaunchTemplate.CapacityReservationTargetProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnLaunchTemplate.CapacityReservationTargetProperty>
CfnLaunchTemplate.CapacityReservationTargetProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnLaunchTemplate.CapacityReservationTargetProperty |
build()
Builds the configured instance.
|
CfnLaunchTemplate.CapacityReservationTargetProperty.Builder |
capacityReservationId(String capacityReservationId)
|
CfnLaunchTemplate.CapacityReservationTargetProperty.Builder |
capacityReservationResourceGroupArn(String capacityReservationResourceGroupArn)
|
@Stability(value=Stable) public CfnLaunchTemplate.CapacityReservationTargetProperty.Builder capacityReservationId(String capacityReservationId)
capacityReservationId - The ID of the Capacity Reservation in which to run the instance.this@Stability(value=Stable) public CfnLaunchTemplate.CapacityReservationTargetProperty.Builder capacityReservationResourceGroupArn(String capacityReservationResourceGroupArn)
CfnLaunchTemplate.CapacityReservationTargetProperty.getCapacityReservationResourceGroupArn()capacityReservationResourceGroupArn - The ARN of the Capacity Reservation resource group in which to run the instance.this@Stability(value=Stable) public CfnLaunchTemplate.CapacityReservationTargetProperty build()
build in interface software.amazon.jsii.Builder<CfnLaunchTemplate.CapacityReservationTargetProperty>CfnLaunchTemplate.CapacityReservationTargetPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.