Package | Description |
---|---|
com.amazonaws.services.ec2.model |
Modifier and Type | Method and Description |
---|---|
static SpotAllocationStrategy |
SpotAllocationStrategy.fromValue(String value)
Use this in place of valueOf.
|
static SpotAllocationStrategy |
SpotAllocationStrategy.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SpotAllocationStrategy[] |
SpotAllocationStrategy.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
SpotOptions |
SpotOptions.withAllocationStrategy(SpotAllocationStrategy allocationStrategy)
Indicates how to allocate the target Spot Instance capacity across the Spot Instance pools specified by the EC2
Fleet.
|
SpotOptionsRequest |
SpotOptionsRequest.withAllocationStrategy(SpotAllocationStrategy allocationStrategy)
Indicates how to allocate the target Spot Instance capacity across the Spot Instance pools specified by the EC2
Fleet.
|
Copyright © 2020. All rights reserved.