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
-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
totalTargetCapacity
TargetCapacitySpecificationRequest.Builder totalTargetCapacity(Integer totalTargetCapacity)
The number of units to request, filled using the default target capacity type.
- Parameters:
totalTargetCapacity- The number of units to request, filled using the default target capacity type.- 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 target capacity type.
- Parameters:
defaultTargetCapacityType- The default target capacity type.- 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 target capacity type.
- Parameters:
defaultTargetCapacityType- The default target capacity type.- 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. You can specify this parameter only when using attributed-based instance type selection.
Default:
units(the number of instances)- Parameters:
targetCapacityUnitType- The unit for the target capacity. You can specify this parameter only when using attributed-based instance type selection.Default:
units(the 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. You can specify this parameter only when using attributed-based instance type selection.
Default:
units(the number of instances)- Parameters:
targetCapacityUnitType- The unit for the target capacity. You can specify this parameter only when using attributed-based instance type selection.Default:
units(the number of instances)- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TargetCapacityUnitType,TargetCapacityUnitType
-
-