public static final class CfnCluster.ComputeLimitsProperty.Builder
extends java.lang.Object
CfnCluster.ComputeLimitsProperty
Constructor and Description |
---|
Builder() |
public CfnCluster.ComputeLimitsProperty.Builder maximumCapacityUnits(java.lang.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
public CfnCluster.ComputeLimitsProperty.Builder minimumCapacityUnits(java.lang.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
public CfnCluster.ComputeLimitsProperty.Builder unitType(java.lang.String unitType)
CfnCluster.ComputeLimitsProperty.getUnitType()
unitType
- The unit type used for specifying a managed scaling policy. This parameter is required.this
public CfnCluster.ComputeLimitsProperty.Builder maximumCoreCapacityUnits(java.lang.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
public CfnCluster.ComputeLimitsProperty.Builder maximumOnDemandCapacityUnits(java.lang.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
public CfnCluster.ComputeLimitsProperty build()
CfnCluster.ComputeLimitsProperty
java.lang.NullPointerException
- if any required attribute was not provided