public static interface TargetCapacitySpecification.Builder extends SdkPojo, CopyableBuilder<TargetCapacitySpecification.Builder,TargetCapacitySpecification>
| Modifier and Type | Method and Description |
|---|---|
TargetCapacitySpecification.Builder |
defaultTargetCapacityType(DefaultTargetCapacityType defaultTargetCapacityType)
The default
TotalTargetCapacity, which is either Spot or On-Demand. |
TargetCapacitySpecification.Builder |
defaultTargetCapacityType(String defaultTargetCapacityType)
The default
TotalTargetCapacity, which is either Spot or On-Demand. |
TargetCapacitySpecification.Builder |
onDemandTargetCapacity(Integer onDemandTargetCapacity)
The number of On-Demand units to request.
|
TargetCapacitySpecification.Builder |
spotTargetCapacity(Integer spotTargetCapacity)
The maximum number of Spot units to launch.
|
TargetCapacitySpecification.Builder |
totalTargetCapacity(Integer totalTargetCapacity)
The number of units to request, filled using
DefaultTargetCapacityType. |
equalsBySdkFields, sdkFieldscopyapplyMutation, buildTargetCapacitySpecification.Builder totalTargetCapacity(Integer totalTargetCapacity)
The number of units to request, filled using DefaultTargetCapacityType.
totalTargetCapacity - The number of units to request, filled using DefaultTargetCapacityType.TargetCapacitySpecification.Builder onDemandTargetCapacity(Integer onDemandTargetCapacity)
The number of On-Demand units to request. If you specify a target capacity for Spot units, you cannot specify a target capacity for On-Demand units.
onDemandTargetCapacity - The number of On-Demand units to request. If you specify a target capacity for Spot units, you cannot
specify a target capacity for On-Demand units.TargetCapacitySpecification.Builder spotTargetCapacity(Integer spotTargetCapacity)
The maximum number of Spot units to launch. If you specify a target capacity for On-Demand units, you cannot specify a target capacity for Spot units.
spotTargetCapacity - The maximum number of Spot units to launch. If you specify a target capacity for On-Demand units, you
cannot specify a target capacity for Spot units.TargetCapacitySpecification.Builder defaultTargetCapacityType(String defaultTargetCapacityType)
The default TotalTargetCapacity, which is either Spot or On-Demand.
defaultTargetCapacityType - The default TotalTargetCapacity, which is either Spot or
On-Demand.DefaultTargetCapacityType,
DefaultTargetCapacityTypeTargetCapacitySpecification.Builder defaultTargetCapacityType(DefaultTargetCapacityType defaultTargetCapacityType)
The default TotalTargetCapacity, which is either Spot or On-Demand.
defaultTargetCapacityType - The default TotalTargetCapacity, which is either Spot or
On-Demand.DefaultTargetCapacityType,
DefaultTargetCapacityTypeCopyright © 2019. All rights reserved.