Package | Description |
---|---|
com.amazonaws.services.ec2.model |
Modifier and Type | Method and Description |
---|---|
SpotOptions |
SpotOptions.clone() |
SpotOptions |
FleetData.getSpotOptions()
The configuration of Spot Instances in an EC2 Fleet.
|
SpotOptions |
SpotOptions.withAllocationStrategy(SpotAllocationStrategy allocationStrategy)
Indicates how to allocate the target Spot Instance capacity across the Spot Instance pools specified by the EC2
Fleet.
|
SpotOptions |
SpotOptions.withAllocationStrategy(String allocationStrategy)
Indicates how to allocate the target Spot Instance capacity across the Spot Instance pools specified by the EC2
Fleet.
|
SpotOptions |
SpotOptions.withInstanceInterruptionBehavior(SpotInstanceInterruptionBehavior instanceInterruptionBehavior)
The behavior when a Spot Instance is interrupted.
|
SpotOptions |
SpotOptions.withInstanceInterruptionBehavior(String instanceInterruptionBehavior)
The behavior when a Spot Instance is interrupted.
|
SpotOptions |
SpotOptions.withInstancePoolsToUseCount(Integer instancePoolsToUseCount)
The number of Spot pools across which to allocate your target Spot capacity.
|
SpotOptions |
SpotOptions.withMaintenanceStrategies(FleetSpotMaintenanceStrategies maintenanceStrategies)
The strategies for managing your workloads on your Spot Instances that will be interrupted.
|
SpotOptions |
SpotOptions.withMaxTotalPrice(String maxTotalPrice)
The maximum amount per hour for Spot Instances that you're willing to pay.
|
SpotOptions |
SpotOptions.withMinTargetCapacity(Integer minTargetCapacity)
The minimum target capacity for Spot Instances in the fleet.
|
SpotOptions |
SpotOptions.withSingleAvailabilityZone(Boolean singleAvailabilityZone)
Indicates that the fleet launches all Spot Instances into a single Availability Zone.
|
SpotOptions |
SpotOptions.withSingleInstanceType(Boolean singleInstanceType)
Indicates that the fleet uses a single instance type to launch all Spot Instances in the fleet.
|
Modifier and Type | Method and Description |
---|---|
void |
FleetData.setSpotOptions(SpotOptions spotOptions)
The configuration of Spot Instances in an EC2 Fleet.
|
FleetData |
FleetData.withSpotOptions(SpotOptions spotOptions)
The configuration of Spot Instances in an EC2 Fleet.
|
Copyright © 2021. All rights reserved.