@Stability(value=External) public static final class CfnEC2Fleet.TargetCapacitySpecificationRequestProperty.Builder extends Object
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)
Sets the value of DefaultTargetCapacityType
|
CfnEC2Fleet.TargetCapacitySpecificationRequestProperty.Builder |
onDemandTargetCapacity(Number onDemandTargetCapacity)
Sets the value of OnDemandTargetCapacity
|
CfnEC2Fleet.TargetCapacitySpecificationRequestProperty.Builder |
spotTargetCapacity(Number spotTargetCapacity)
Sets the value of SpotTargetCapacity
|
CfnEC2Fleet.TargetCapacitySpecificationRequestProperty.Builder |
totalTargetCapacity(Number totalTargetCapacity)
Sets the value of TotalTargetCapacity
|
@Stability(value=External) public CfnEC2Fleet.TargetCapacitySpecificationRequestProperty.Builder totalTargetCapacity(Number totalTargetCapacity)
totalTargetCapacity
- `CfnEC2Fleet.TargetCapacitySpecificationRequestProperty.TotalTargetCapacity`. This parameter is required.this
@Stability(value=External) public CfnEC2Fleet.TargetCapacitySpecificationRequestProperty.Builder defaultTargetCapacityType(String defaultTargetCapacityType)
defaultTargetCapacityType
- `CfnEC2Fleet.TargetCapacitySpecificationRequestProperty.DefaultTargetCapacityType`.this
@Stability(value=External) public CfnEC2Fleet.TargetCapacitySpecificationRequestProperty.Builder onDemandTargetCapacity(Number onDemandTargetCapacity)
onDemandTargetCapacity
- `CfnEC2Fleet.TargetCapacitySpecificationRequestProperty.OnDemandTargetCapacity`.this
@Stability(value=External) public CfnEC2Fleet.TargetCapacitySpecificationRequestProperty.Builder spotTargetCapacity(Number spotTargetCapacity)
spotTargetCapacity
- `CfnEC2Fleet.TargetCapacitySpecificationRequestProperty.SpotTargetCapacity`.this
@Stability(value=External) public CfnEC2Fleet.TargetCapacitySpecificationRequestProperty build()
CfnEC2Fleet.TargetCapacitySpecificationRequestProperty
NullPointerException
- if any required attribute was not providedCopyright © 2019. All rights reserved.