public static interface OnDemandProvisioningSpecification.Builder extends SdkPojo, CopyableBuilder<OnDemandProvisioningSpecification.Builder,OnDemandProvisioningSpecification>
| Modifier and Type | Method and Description |
|---|---|
OnDemandProvisioningSpecification.Builder |
allocationStrategy(OnDemandProvisioningAllocationStrategy allocationStrategy)
Specifies the strategy to use in launching On-Demand instance fleets.
|
OnDemandProvisioningSpecification.Builder |
allocationStrategy(String allocationStrategy)
Specifies the strategy to use in launching On-Demand instance fleets.
|
default OnDemandProvisioningSpecification.Builder |
capacityReservationOptions(Consumer<OnDemandCapacityReservationOptions.Builder> capacityReservationOptions)
The launch specification for On-Demand instances in the instance fleet, which determines the allocation
strategy.
|
OnDemandProvisioningSpecification.Builder |
capacityReservationOptions(OnDemandCapacityReservationOptions capacityReservationOptions)
The launch specification for On-Demand instances in the instance fleet, which determines the allocation
strategy.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildOnDemandProvisioningSpecification.Builder allocationStrategy(String allocationStrategy)
Specifies the strategy to use in launching On-Demand instance fleets. Currently, the only option is
lowest-price (the default), which launches the lowest price first.
allocationStrategy - Specifies the strategy to use in launching On-Demand instance fleets. Currently, the only option is
lowest-price (the default), which launches the lowest price first.OnDemandProvisioningAllocationStrategy,
OnDemandProvisioningAllocationStrategyOnDemandProvisioningSpecification.Builder allocationStrategy(OnDemandProvisioningAllocationStrategy allocationStrategy)
Specifies the strategy to use in launching On-Demand instance fleets. Currently, the only option is
lowest-price (the default), which launches the lowest price first.
allocationStrategy - Specifies the strategy to use in launching On-Demand instance fleets. Currently, the only option is
lowest-price (the default), which launches the lowest price first.OnDemandProvisioningAllocationStrategy,
OnDemandProvisioningAllocationStrategyOnDemandProvisioningSpecification.Builder capacityReservationOptions(OnDemandCapacityReservationOptions capacityReservationOptions)
The launch specification for On-Demand instances in the instance fleet, which determines the allocation strategy.
capacityReservationOptions - The launch specification for On-Demand instances in the instance fleet, which determines the
allocation strategy.default OnDemandProvisioningSpecification.Builder capacityReservationOptions(Consumer<OnDemandCapacityReservationOptions.Builder> capacityReservationOptions)
The launch specification for On-Demand instances in the instance fleet, which determines the allocation strategy.
This is a convenience method that creates an instance of theOnDemandCapacityReservationOptions.Builder avoiding the need to create one manually via
OnDemandCapacityReservationOptions.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to
capacityReservationOptions(OnDemandCapacityReservationOptions).
capacityReservationOptions - a consumer that will call methods on OnDemandCapacityReservationOptions.BuildercapacityReservationOptions(OnDemandCapacityReservationOptions)Copyright © 2022. All rights reserved.