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
Modifier and TypeMethodDescriptiondefaultTargetCapacityType
(String defaultTargetCapacityType) The default target capacity type.defaultTargetCapacityType
(DefaultTargetCapacityType defaultTargetCapacityType) The default target capacity type.onDemandTargetCapacity
(Integer onDemandTargetCapacity) The number of On-Demand units to request.spotTargetCapacity
(Integer spotTargetCapacity) The number of Spot units to request.targetCapacityUnitType
(String targetCapacityUnitType) The unit for the target capacity.targetCapacityUnitType
(TargetCapacityUnitType targetCapacityUnitType) The unit for the target capacity.totalTargetCapacity
(Integer totalTargetCapacity) The number of units to request, filled using the default target capacity type.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 Details
-
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
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
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
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:
-
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
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:
-