Class ManagedScalingPolicyComputeLimitArgs.Builder

    • Method Detail

      • maximumCapacityUnits

        public ManagedScalingPolicyComputeLimitArgs.Builder maximumCapacityUnits​(com.pulumi.core.Output<java.lang.Integer> maximumCapacityUnits)
        Parameters:
        maximumCapacityUnits - The upper boundary of 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:
        builder
      • maximumCapacityUnits

        public ManagedScalingPolicyComputeLimitArgs.Builder maximumCapacityUnits​(java.lang.Integer maximumCapacityUnits)
        Parameters:
        maximumCapacityUnits - The upper boundary of 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:
        builder
      • maximumCoreCapacityUnits

        public ManagedScalingPolicyComputeLimitArgs.Builder maximumCoreCapacityUnits​(@Nullable
                                                                                     com.pulumi.core.Output<java.lang.Integer> maximumCoreCapacityUnits)
        Parameters:
        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.
        Returns:
        builder
      • maximumCoreCapacityUnits

        public ManagedScalingPolicyComputeLimitArgs.Builder maximumCoreCapacityUnits​(java.lang.Integer maximumCoreCapacityUnits)
        Parameters:
        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.
        Returns:
        builder
      • maximumOndemandCapacityUnits

        public ManagedScalingPolicyComputeLimitArgs.Builder maximumOndemandCapacityUnits​(@Nullable
                                                                                         com.pulumi.core.Output<java.lang.Integer> maximumOndemandCapacityUnits)
        Parameters:
        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.
        Returns:
        builder
      • maximumOndemandCapacityUnits

        public ManagedScalingPolicyComputeLimitArgs.Builder maximumOndemandCapacityUnits​(java.lang.Integer maximumOndemandCapacityUnits)
        Parameters:
        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.
        Returns:
        builder
      • minimumCapacityUnits

        public ManagedScalingPolicyComputeLimitArgs.Builder minimumCapacityUnits​(com.pulumi.core.Output<java.lang.Integer> minimumCapacityUnits)
        Parameters:
        minimumCapacityUnits - The lower boundary of 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:
        builder
      • minimumCapacityUnits

        public ManagedScalingPolicyComputeLimitArgs.Builder minimumCapacityUnits​(java.lang.Integer minimumCapacityUnits)
        Parameters:
        minimumCapacityUnits - The lower boundary of 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:
        builder
      • unitType

        public ManagedScalingPolicyComputeLimitArgs.Builder unitType​(com.pulumi.core.Output<java.lang.String> unitType)
        Parameters:
        unitType - The unit type used for specifying a managed scaling policy. Valid Values: `InstanceFleetUnits` | `Instances` | `VCPU`
        Returns:
        builder
      • unitType

        public ManagedScalingPolicyComputeLimitArgs.Builder unitType​(java.lang.String unitType)
        Parameters:
        unitType - The unit type used for specifying a managed scaling policy. Valid Values: `InstanceFleetUnits` | `Instances` | `VCPU`
        Returns:
        builder