public static interface TargetCapacitySpecificationRequest.Builder extends SdkPojo, CopyableBuilder<TargetCapacitySpecificationRequest.Builder,TargetCapacitySpecificationRequest>
Modifier and Type | Method and Description |
---|---|
TargetCapacitySpecificationRequest.Builder |
defaultTargetCapacityType(DefaultTargetCapacityType defaultTargetCapacityType)
The default
TotalTargetCapacity , which is either Spot or On-Demand . |
TargetCapacitySpecificationRequest.Builder |
defaultTargetCapacityType(String defaultTargetCapacityType)
The default
TotalTargetCapacity , which is either Spot or On-Demand . |
TargetCapacitySpecificationRequest.Builder |
onDemandTargetCapacity(Integer onDemandTargetCapacity)
The number of On-Demand units to request.
|
TargetCapacitySpecificationRequest.Builder |
spotTargetCapacity(Integer spotTargetCapacity)
The number of Spot units to request.
|
TargetCapacitySpecificationRequest.Builder |
targetCapacityUnitType(String targetCapacityUnitType)
The unit for the target capacity.
|
TargetCapacitySpecificationRequest.Builder |
targetCapacityUnitType(TargetCapacityUnitType targetCapacityUnitType)
The unit for the target capacity.
|
TargetCapacitySpecificationRequest.Builder |
totalTargetCapacity(Integer totalTargetCapacity)
The number of units to request, filled using
DefaultTargetCapacityType . |
equalsBySdkFields, sdkFields
copy
applyMutation, build
TargetCapacitySpecificationRequest.Builder totalTargetCapacity(Integer totalTargetCapacity)
The number of units to request, filled using DefaultTargetCapacityType
.
totalTargetCapacity
- The number of units to request, filled using DefaultTargetCapacityType
.TargetCapacitySpecificationRequest.Builder onDemandTargetCapacity(Integer onDemandTargetCapacity)
The number of On-Demand units to request.
onDemandTargetCapacity
- The number of On-Demand units to request.TargetCapacitySpecificationRequest.Builder spotTargetCapacity(Integer spotTargetCapacity)
The number of Spot units to request.
spotTargetCapacity
- The number of Spot units to request.TargetCapacitySpecificationRequest.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
TargetCapacitySpecificationRequest.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
TargetCapacitySpecificationRequest.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
TargetCapacitySpecificationRequest.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.