Interface TargetCapacitySpecification.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TargetCapacitySpecification.Builder,,TargetCapacitySpecification> SdkBuilder<TargetCapacitySpecification.Builder,,TargetCapacitySpecification> SdkPojo
- Enclosing class:
TargetCapacitySpecification
@Mutable
@NotThreadSafe
public static interface TargetCapacitySpecification.Builder
extends SdkPojo, CopyableBuilder<TargetCapacitySpecification.Builder,TargetCapacitySpecification>
-
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 maximum number of Spot units to launch.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 the default target capacity type.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
totalTargetCapacity
The number of units to request, filled the default target capacity type.
- Parameters:
totalTargetCapacity- The number of units to request, filled 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. If you specify a target capacity for Spot units, you cannot specify a target capacity for On-Demand units.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
TargetCapacitySpecification.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.
- Parameters:
targetCapacityUnitType- The unit for the target capacity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetCapacityUnitType
TargetCapacitySpecification.Builder targetCapacityUnitType(TargetCapacityUnitType targetCapacityUnitType) The unit for the target capacity.
- Parameters:
targetCapacityUnitType- The unit for the target capacity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-