@Stability(value=Stable) public static final class CfnLaunchTemplate.CapacityReservationSpecificationProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnLaunchTemplate.CapacityReservationSpecificationProperty>
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnLaunchTemplate.CapacityReservationSpecificationProperty |
build()
Builds the configured instance.
|
CfnLaunchTemplate.CapacityReservationSpecificationProperty.Builder |
capacityReservationPreference(String capacityReservationPreference)
|
CfnLaunchTemplate.CapacityReservationSpecificationProperty.Builder |
capacityReservationTarget(CfnLaunchTemplate.CapacityReservationTargetProperty capacityReservationTarget)
|
CfnLaunchTemplate.CapacityReservationSpecificationProperty.Builder |
capacityReservationTarget(IResolvable capacityReservationTarget)
|
@Stability(value=Stable) public CfnLaunchTemplate.CapacityReservationSpecificationProperty.Builder capacityReservationPreference(String capacityReservationPreference)
CfnLaunchTemplate.CapacityReservationSpecificationProperty.getCapacityReservationPreference()capacityReservationPreference - Indicates the instance's Capacity Reservation preferences. Possible preferences include:.
open - The instance can run in any open Capacity Reservation that has matching attributes (instance type, platform, Availability Zone).none - The instance avoids running in a Capacity Reservation even if one is available. The instance runs in On-Demand capacity.this@Stability(value=Stable) public CfnLaunchTemplate.CapacityReservationSpecificationProperty.Builder capacityReservationTarget(CfnLaunchTemplate.CapacityReservationTargetProperty capacityReservationTarget)
CfnLaunchTemplate.CapacityReservationSpecificationProperty.getCapacityReservationTarget()capacityReservationTarget - Information about the target Capacity Reservation or Capacity Reservation group.this@Stability(value=Stable) public CfnLaunchTemplate.CapacityReservationSpecificationProperty.Builder capacityReservationTarget(IResolvable capacityReservationTarget)
CfnLaunchTemplate.CapacityReservationSpecificationProperty.getCapacityReservationTarget()capacityReservationTarget - Information about the target Capacity Reservation or Capacity Reservation group.this@Stability(value=Stable) public CfnLaunchTemplate.CapacityReservationSpecificationProperty build()
build in interface software.amazon.jsii.Builder<CfnLaunchTemplate.CapacityReservationSpecificationProperty>CfnLaunchTemplate.CapacityReservationSpecificationPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.