@Stability(value=Stable) public static final class CfnEC2Fleet.TargetCapacitySpecificationRequestProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnEC2Fleet.TargetCapacitySpecificationRequestProperty>
CfnEC2Fleet.TargetCapacitySpecificationRequestProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnEC2Fleet.TargetCapacitySpecificationRequestProperty |
build()
Builds the configured instance.
|
CfnEC2Fleet.TargetCapacitySpecificationRequestProperty.Builder |
defaultTargetCapacityType(String defaultTargetCapacityType)
|
CfnEC2Fleet.TargetCapacitySpecificationRequestProperty.Builder |
onDemandTargetCapacity(Number onDemandTargetCapacity)
|
CfnEC2Fleet.TargetCapacitySpecificationRequestProperty.Builder |
spotTargetCapacity(Number spotTargetCapacity)
|
CfnEC2Fleet.TargetCapacitySpecificationRequestProperty.Builder |
targetCapacityUnitType(String targetCapacityUnitType)
|
CfnEC2Fleet.TargetCapacitySpecificationRequestProperty.Builder |
totalTargetCapacity(Number totalTargetCapacity)
|
@Stability(value=Stable) public CfnEC2Fleet.TargetCapacitySpecificationRequestProperty.Builder totalTargetCapacity(Number totalTargetCapacity)
totalTargetCapacity - The number of units to request, filled using `DefaultTargetCapacityType` . This parameter is required.this@Stability(value=Stable) public CfnEC2Fleet.TargetCapacitySpecificationRequestProperty.Builder defaultTargetCapacityType(String defaultTargetCapacityType)
CfnEC2Fleet.TargetCapacitySpecificationRequestProperty.getDefaultTargetCapacityType()defaultTargetCapacityType - The default `TotalTargetCapacity` , which is either `Spot` or `On-Demand` .this@Stability(value=Stable) public CfnEC2Fleet.TargetCapacitySpecificationRequestProperty.Builder onDemandTargetCapacity(Number onDemandTargetCapacity)
CfnEC2Fleet.TargetCapacitySpecificationRequestProperty.getOnDemandTargetCapacity()onDemandTargetCapacity - The number of On-Demand units to request.this@Stability(value=Stable) public CfnEC2Fleet.TargetCapacitySpecificationRequestProperty.Builder spotTargetCapacity(Number spotTargetCapacity)
spotTargetCapacity - The number of Spot units to request.this@Stability(value=Stable) public CfnEC2Fleet.TargetCapacitySpecificationRequestProperty.Builder targetCapacityUnitType(String targetCapacityUnitType)
CfnEC2Fleet.TargetCapacitySpecificationRequestProperty.getTargetCapacityUnitType()targetCapacityUnitType - The unit for the target capacity.
Default: units (translates to number of instances)this@Stability(value=Stable) public CfnEC2Fleet.TargetCapacitySpecificationRequestProperty build()
build in interface software.amazon.jsii.Builder<CfnEC2Fleet.TargetCapacitySpecificationRequestProperty>CfnEC2Fleet.TargetCapacitySpecificationRequestPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.