Package | Description |
---|---|
com.amazonaws.services.ec2.model |
Modifier and Type | Method and Description |
---|---|
static FleetExcessCapacityTerminationPolicy |
FleetExcessCapacityTerminationPolicy.fromValue(String value)
Use this in place of valueOf.
|
static FleetExcessCapacityTerminationPolicy |
FleetExcessCapacityTerminationPolicy.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FleetExcessCapacityTerminationPolicy[] |
FleetExcessCapacityTerminationPolicy.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
FleetData |
FleetData.withExcessCapacityTerminationPolicy(FleetExcessCapacityTerminationPolicy excessCapacityTerminationPolicy)
Indicates whether running instances should be terminated if the target capacity of the EC2 Fleet is decreased
below the current size of the EC2 Fleet.
|
ModifyFleetRequest |
ModifyFleetRequest.withExcessCapacityTerminationPolicy(FleetExcessCapacityTerminationPolicy excessCapacityTerminationPolicy)
Indicates whether running instances should be terminated if the total target capacity of the EC2 Fleet is
decreased below the current size of the EC2 Fleet.
|
CreateFleetRequest |
CreateFleetRequest.withExcessCapacityTerminationPolicy(FleetExcessCapacityTerminationPolicy excessCapacityTerminationPolicy)
Indicates whether running instances should be terminated if the total target capacity of the EC2 Fleet is
decreased below the current size of the EC2 Fleet.
|
Copyright © 2021. All rights reserved.