@Stability(value=Stable) public static final class CfnCluster.ComputeLimitsProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnCluster.ComputeLimitsProperty>
CfnCluster.ComputeLimitsProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnCluster.ComputeLimitsProperty |
build()
Builds the configured instance.
|
CfnCluster.ComputeLimitsProperty.Builder |
maximumCapacityUnits(Number maximumCapacityUnits)
Sets the value of
CfnCluster.ComputeLimitsProperty.getMaximumCapacityUnits() |
CfnCluster.ComputeLimitsProperty.Builder |
maximumCoreCapacityUnits(Number maximumCoreCapacityUnits)
Sets the value of
CfnCluster.ComputeLimitsProperty.getMaximumCoreCapacityUnits() |
CfnCluster.ComputeLimitsProperty.Builder |
maximumOnDemandCapacityUnits(Number maximumOnDemandCapacityUnits)
Sets the value of
CfnCluster.ComputeLimitsProperty.getMaximumOnDemandCapacityUnits() |
CfnCluster.ComputeLimitsProperty.Builder |
minimumCapacityUnits(Number minimumCapacityUnits)
Sets the value of
CfnCluster.ComputeLimitsProperty.getMinimumCapacityUnits() |
CfnCluster.ComputeLimitsProperty.Builder |
unitType(String unitType)
Sets the value of
CfnCluster.ComputeLimitsProperty.getUnitType() |
@Stability(value=Stable) public CfnCluster.ComputeLimitsProperty.Builder maximumCapacityUnits(Number maximumCapacityUnits)
CfnCluster.ComputeLimitsProperty.getMaximumCapacityUnits()maximumCapacityUnits - The upper boundary of EC2 units. This parameter is required.
It is measured through vCPU cores or instances for instance groups and measured through units for instance fleets. Managed scaling activities are not allowed beyond this boundary. The limit only applies to the core and task nodes. The master node cannot be scaled after initial configuration.this@Stability(value=Stable) public CfnCluster.ComputeLimitsProperty.Builder minimumCapacityUnits(Number minimumCapacityUnits)
CfnCluster.ComputeLimitsProperty.getMinimumCapacityUnits()minimumCapacityUnits - The lower boundary of EC2 units. This parameter is required.
It is measured through vCPU cores or instances for instance groups and measured through units for instance fleets. Managed scaling activities are not allowed beyond this boundary. The limit only applies to the core and task nodes. The master node cannot be scaled after initial configuration.this@Stability(value=Stable) public CfnCluster.ComputeLimitsProperty.Builder unitType(String unitType)
CfnCluster.ComputeLimitsProperty.getUnitType()unitType - The unit type used for specifying a managed scaling policy. This parameter is required.this@Stability(value=Stable) public CfnCluster.ComputeLimitsProperty.Builder maximumCoreCapacityUnits(Number maximumCoreCapacityUnits)
CfnCluster.ComputeLimitsProperty.getMaximumCoreCapacityUnits()maximumCoreCapacityUnits - The upper boundary of EC2 units for core node type in a cluster.
It is measured through vCPU cores or instances for instance groups and measured through units for instance fleets. The core units are not allowed to scale beyond this boundary. The parameter is used to split capacity allocation between core and task nodes.this@Stability(value=Stable) public CfnCluster.ComputeLimitsProperty.Builder maximumOnDemandCapacityUnits(Number maximumOnDemandCapacityUnits)
CfnCluster.ComputeLimitsProperty.getMaximumOnDemandCapacityUnits()maximumOnDemandCapacityUnits - The upper boundary of On-Demand EC2 units.
It is measured through vCPU cores or instances for instance groups and measured through units for instance fleets. The On-Demand units are not allowed to scale beyond this boundary. The parameter is used to split capacity allocation between On-Demand and Spot Instances.this@Stability(value=Stable) public CfnCluster.ComputeLimitsProperty build()
build in interface software.amazon.jsii.Builder<CfnCluster.ComputeLimitsProperty>CfnCluster.ComputeLimitsPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.