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 |
targetCapacityUnitType(String targetCapacityUnitType)
The unit for the target capacity.
|
TargetCapacitySpecification.Builder |
targetCapacityUnitType(TargetCapacityUnitType targetCapacityUnitType)
The unit for the target capacity.
|
TargetCapacitySpecification.Builder |
totalTargetCapacity(Integer totalTargetCapacity)
The number of units to request, filled using
DefaultTargetCapacityType . |
equalsBySdkFields, sdkFields
copy
applyMutation, build
TargetCapacitySpecification.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
,
DefaultTargetCapacityType
TargetCapacitySpecification.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
,
DefaultTargetCapacityType
TargetCapacitySpecification.Builder targetCapacityUnitType(String targetCapacityUnitType)
The unit for the target capacity. TargetCapacityUnitType
can only be specified when
InstanceRequirements
is specified.
Default: units
(translates to number of instances)
targetCapacityUnitType
- The unit for the target capacity. TargetCapacityUnitType
can only be specified when
InstanceRequirements
is specified.
Default: units
(translates to number of instances)
TargetCapacityUnitType
,
TargetCapacityUnitType
TargetCapacitySpecification.Builder targetCapacityUnitType(TargetCapacityUnitType targetCapacityUnitType)
The unit for the target capacity. TargetCapacityUnitType
can only be specified when
InstanceRequirements
is specified.
Default: units
(translates to number of instances)
targetCapacityUnitType
- The unit for the target capacity. TargetCapacityUnitType
can only be specified when
InstanceRequirements
is specified.
Default: units
(translates to number of instances)
TargetCapacityUnitType
,
TargetCapacityUnitType
Copyright © 2023. All rights reserved.