@Stability(value=Stable) public static final class CfnFleet.LocationCapacityProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnFleet.LocationCapacityProperty>
CfnFleet.LocationCapacityProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnFleet.LocationCapacityProperty |
build()
Builds the configured instance.
|
CfnFleet.LocationCapacityProperty.Builder |
desiredEc2Instances(Number desiredEc2Instances)
Sets the value of
CfnFleet.LocationCapacityProperty.getDesiredEc2Instances() |
CfnFleet.LocationCapacityProperty.Builder |
maxSize(Number maxSize)
Sets the value of
CfnFleet.LocationCapacityProperty.getMaxSize() |
CfnFleet.LocationCapacityProperty.Builder |
minSize(Number minSize)
Sets the value of
CfnFleet.LocationCapacityProperty.getMinSize() |
@Stability(value=Stable) public CfnFleet.LocationCapacityProperty.Builder desiredEc2Instances(Number desiredEc2Instances)
CfnFleet.LocationCapacityProperty.getDesiredEc2Instances()desiredEc2Instances - The number of Amazon EC2 instances you want to maintain in the specified fleet location. This parameter is required.
This value must fall between the minimum and maximum size limits.this@Stability(value=Stable) public CfnFleet.LocationCapacityProperty.Builder maxSize(Number maxSize)
CfnFleet.LocationCapacityProperty.getMaxSize()maxSize - The maximum number of instances that are allowed in the specified fleet location. This parameter is required.
If this parameter is not set, the default is 1.this@Stability(value=Stable) public CfnFleet.LocationCapacityProperty.Builder minSize(Number minSize)
CfnFleet.LocationCapacityProperty.getMinSize()minSize - The minimum number of instances that are allowed in the specified fleet location. This parameter is required.
If this parameter is not set, the default is 0.this@Stability(value=Stable) public CfnFleet.LocationCapacityProperty build()
build in interface software.amazon.jsii.Builder<CfnFleet.LocationCapacityProperty>CfnFleet.LocationCapacityPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.