Interface ComputeLimits.Builder

    • Method Detail

      • unitType

        ComputeLimits.Builder unitType​(String unitType)

        The unit type used for specifying a managed scaling policy.

        Parameters:
        unitType - The unit type used for specifying a managed scaling policy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ComputeLimitsUnitType, ComputeLimitsUnitType
      • minimumCapacityUnits

        ComputeLimits.Builder minimumCapacityUnits​(Integer minimumCapacityUnits)

        The lower boundary of Amazon EC2 units. 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.

        Parameters:
        minimumCapacityUnits - The lower boundary of Amazon EC2 units. 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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maximumCapacityUnits

        ComputeLimits.Builder maximumCapacityUnits​(Integer maximumCapacityUnits)

        The upper boundary of Amazon EC2 units. 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.

        Parameters:
        maximumCapacityUnits - The upper boundary of Amazon EC2 units. 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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maximumOnDemandCapacityUnits

        ComputeLimits.Builder maximumOnDemandCapacityUnits​(Integer maximumOnDemandCapacityUnits)

        The upper boundary of On-Demand Amazon 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.

        Parameters:
        maximumOnDemandCapacityUnits - The upper boundary of On-Demand Amazon 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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maximumCoreCapacityUnits

        ComputeLimits.Builder maximumCoreCapacityUnits​(Integer maximumCoreCapacityUnits)

        The upper boundary of Amazon 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.

        Parameters:
        maximumCoreCapacityUnits - The upper boundary of Amazon 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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.