| Package | Description |
|---|---|
| software.amazon.awssdk.services.ec2.model |
| Modifier and Type | Method and Description |
|---|---|
SpotOptionsRequest.Builder |
SpotOptionsRequest.Builder.allocationStrategy(SpotAllocationStrategy allocationStrategy)
Indicates how to allocate the target Spot Instance capacity across the Spot Instance pools specified by the
EC2 Fleet.
|
SpotOptionsRequest.Builder |
SpotOptionsRequest.Builder.allocationStrategy(String allocationStrategy)
Indicates how to allocate the target Spot Instance capacity across the Spot Instance pools specified by the
EC2 Fleet.
|
static SpotOptionsRequest.Builder |
SpotOptionsRequest.builder() |
SpotOptionsRequest.Builder |
SpotOptionsRequest.Builder.instanceInterruptionBehavior(SpotInstanceInterruptionBehavior instanceInterruptionBehavior)
The behavior when a Spot Instance is interrupted.
|
SpotOptionsRequest.Builder |
SpotOptionsRequest.Builder.instanceInterruptionBehavior(String instanceInterruptionBehavior)
The behavior when a Spot Instance is interrupted.
|
SpotOptionsRequest.Builder |
SpotOptionsRequest.Builder.instancePoolsToUseCount(Integer instancePoolsToUseCount)
The number of Spot pools across which to allocate your target Spot capacity.
|
default SpotOptionsRequest.Builder |
SpotOptionsRequest.Builder.maintenanceStrategies(Consumer<FleetSpotMaintenanceStrategiesRequest.Builder> maintenanceStrategies)
The strategies for managing your Spot Instances that are at an elevated risk of being interrupted.
|
SpotOptionsRequest.Builder |
SpotOptionsRequest.Builder.maintenanceStrategies(FleetSpotMaintenanceStrategiesRequest maintenanceStrategies)
The strategies for managing your Spot Instances that are at an elevated risk of being interrupted.
|
SpotOptionsRequest.Builder |
SpotOptionsRequest.Builder.maxTotalPrice(String maxTotalPrice)
The maximum amount per hour for Spot Instances that you're willing to pay.
|
SpotOptionsRequest.Builder |
SpotOptionsRequest.Builder.minTargetCapacity(Integer minTargetCapacity)
The minimum target capacity for Spot Instances in the fleet.
|
SpotOptionsRequest.Builder |
SpotOptionsRequest.Builder.singleAvailabilityZone(Boolean singleAvailabilityZone)
Indicates that the fleet launches all Spot Instances into a single Availability Zone.
|
SpotOptionsRequest.Builder |
SpotOptionsRequest.Builder.singleInstanceType(Boolean singleInstanceType)
Indicates that the fleet uses a single instance type to launch all Spot Instances in the fleet.
|
SpotOptionsRequest.Builder |
SpotOptionsRequest.toBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends SpotOptionsRequest.Builder> |
SpotOptionsRequest.serializableBuilderClass() |
| Modifier and Type | Method and Description |
|---|---|
default CreateFleetRequest.Builder |
CreateFleetRequest.Builder.spotOptions(Consumer<SpotOptionsRequest.Builder> spotOptions)
Describes the configuration of Spot Instances in an EC2 Fleet.
|
Copyright © 2021. All rights reserved.