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