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.BuilderdefaultTargetCapacityType(String defaultTargetCapacityType)The defaultTotalTargetCapacity, which is eitherSpotorOn-Demand.TargetCapacitySpecificationRequest.BuilderdefaultTargetCapacityType(DefaultTargetCapacityType defaultTargetCapacityType)The defaultTotalTargetCapacity, which is eitherSpotorOn-Demand.TargetCapacitySpecificationRequest.BuilderonDemandTargetCapacity(Integer onDemandTargetCapacity)The number of On-Demand units to request.TargetCapacitySpecificationRequest.BuilderspotTargetCapacity(Integer spotTargetCapacity)The number of Spot units to request.TargetCapacitySpecificationRequest.BuildertargetCapacityUnitType(String targetCapacityUnitType)The unit for the target capacity.TargetCapacitySpecificationRequest.BuildertargetCapacityUnitType(TargetCapacityUnitType targetCapacityUnitType)The unit for the target capacity.TargetCapacitySpecificationRequest.BuildertotalTargetCapacity(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 eitherSpotorOn-Demand.- Parameters:
defaultTargetCapacityType- The defaultTotalTargetCapacity, which is eitherSpotorOn-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 eitherSpotorOn-Demand.- Parameters:
defaultTargetCapacityType- The defaultTotalTargetCapacity, which is eitherSpotorOn-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.
TargetCapacityUnitTypecan only be specified whenInstanceRequirementsis specified.Default:
units(translates to number of instances)- Parameters:
targetCapacityUnitType- The unit for the target capacity.TargetCapacityUnitTypecan only be specified whenInstanceRequirementsis 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.
TargetCapacityUnitTypecan only be specified whenInstanceRequirementsis specified.Default:
units(translates to number of instances)- Parameters:
targetCapacityUnitType- The unit for the target capacity.TargetCapacityUnitTypecan only be specified whenInstanceRequirementsis 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
-
-