Interface TargetCapacitySpecificationRequest.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<TargetCapacitySpecificationRequest.Builder,TargetCapacitySpecificationRequest>
,SdkBuilder<TargetCapacitySpecificationRequest.Builder,TargetCapacitySpecificationRequest>
,SdkPojo
- Enclosing class:
- TargetCapacitySpecificationRequest
public static interface TargetCapacitySpecificationRequest.Builder extends SdkPojo, CopyableBuilder<TargetCapacitySpecificationRequest.Builder,TargetCapacitySpecificationRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TargetCapacitySpecificationRequest.Builder
defaultTargetCapacityType(String defaultTargetCapacityType)
The defaultTotalTargetCapacity
, which is eitherSpot
orOn-Demand
.TargetCapacitySpecificationRequest.Builder
defaultTargetCapacityType(DefaultTargetCapacityType defaultTargetCapacityType)
The defaultTotalTargetCapacity
, which is eitherSpot
orOn-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 usingDefaultTargetCapacityType
.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
totalTargetCapacity
TargetCapacitySpecificationRequest.Builder totalTargetCapacity(Integer totalTargetCapacity)
The number of units to request, filled using
DefaultTargetCapacityType
.- Parameters:
totalTargetCapacity
- The number of units to request, filled usingDefaultTargetCapacityType
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
onDemandTargetCapacity
TargetCapacitySpecificationRequest.Builder onDemandTargetCapacity(Integer onDemandTargetCapacity)
The number of On-Demand units to request.
- Parameters:
onDemandTargetCapacity
- The number of On-Demand units to request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spotTargetCapacity
TargetCapacitySpecificationRequest.Builder spotTargetCapacity(Integer spotTargetCapacity)
The number of Spot units to request.
- Parameters:
spotTargetCapacity
- The number of Spot units to request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultTargetCapacityType
TargetCapacitySpecificationRequest.Builder defaultTargetCapacityType(String defaultTargetCapacityType)
The default
TotalTargetCapacity
, which is eitherSpot
orOn-Demand
.- Parameters:
defaultTargetCapacityType
- The defaultTotalTargetCapacity
, which is eitherSpot
orOn-Demand
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DefaultTargetCapacityType
,DefaultTargetCapacityType
-
defaultTargetCapacityType
TargetCapacitySpecificationRequest.Builder defaultTargetCapacityType(DefaultTargetCapacityType defaultTargetCapacityType)
The default
TotalTargetCapacity
, which is eitherSpot
orOn-Demand
.- Parameters:
defaultTargetCapacityType
- The defaultTotalTargetCapacity
, which is eitherSpot
orOn-Demand
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DefaultTargetCapacityType
,DefaultTargetCapacityType
-
targetCapacityUnitType
TargetCapacitySpecificationRequest.Builder targetCapacityUnitType(String targetCapacityUnitType)
The unit for the target capacity.
TargetCapacityUnitType
can only be specified whenInstanceRequirements
is specified.Default:
units
(translates to number of instances)- Parameters:
targetCapacityUnitType
- The unit for the target capacity.TargetCapacityUnitType
can only be specified whenInstanceRequirements
is specified.Default:
units
(translates to number of instances)- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TargetCapacityUnitType
,TargetCapacityUnitType
-
targetCapacityUnitType
TargetCapacitySpecificationRequest.Builder targetCapacityUnitType(TargetCapacityUnitType targetCapacityUnitType)
The unit for the target capacity.
TargetCapacityUnitType
can only be specified whenInstanceRequirements
is specified.Default:
units
(translates to number of instances)- Parameters:
targetCapacityUnitType
- The unit for the target capacity.TargetCapacityUnitType
can only be specified whenInstanceRequirements
is specified.Default:
units
(translates to number of instances)- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TargetCapacityUnitType
,TargetCapacityUnitType
-
-