@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 |
totalTargetCapacity(Number totalTargetCapacity)
|
@Stability(value=Stable) public CfnEC2Fleet.TargetCapacitySpecificationRequestProperty.Builder totalTargetCapacity(Number totalTargetCapacity)
totalTargetCapacity - `CfnEC2Fleet.TargetCapacitySpecificationRequestProperty.TotalTargetCapacity`. This parameter is required.this@Stability(value=Stable) public CfnEC2Fleet.TargetCapacitySpecificationRequestProperty.Builder defaultTargetCapacityType(String defaultTargetCapacityType)
CfnEC2Fleet.TargetCapacitySpecificationRequestProperty.getDefaultTargetCapacityType()defaultTargetCapacityType - `CfnEC2Fleet.TargetCapacitySpecificationRequestProperty.DefaultTargetCapacityType`.this@Stability(value=Stable) public CfnEC2Fleet.TargetCapacitySpecificationRequestProperty.Builder onDemandTargetCapacity(Number onDemandTargetCapacity)
CfnEC2Fleet.TargetCapacitySpecificationRequestProperty.getOnDemandTargetCapacity()onDemandTargetCapacity - `CfnEC2Fleet.TargetCapacitySpecificationRequestProperty.OnDemandTargetCapacity`.this@Stability(value=Stable) public CfnEC2Fleet.TargetCapacitySpecificationRequestProperty.Builder spotTargetCapacity(Number spotTargetCapacity)
spotTargetCapacity - `CfnEC2Fleet.TargetCapacitySpecificationRequestProperty.SpotTargetCapacity`.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 © 2021. All rights reserved.