Interface CapacityProviderScalingConfig.Builder

    • Method Detail

      • maxVCpuCount

        CapacityProviderScalingConfig.Builder maxVCpuCount​(Integer maxVCpuCount)

        The maximum number of vCPUs that the capacity provider can provision across all compute instances.

        Parameters:
        maxVCpuCount - The maximum number of vCPUs that the capacity provider can provision across all compute instances.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • scalingPolicies

        CapacityProviderScalingConfig.Builder scalingPolicies​(Collection<TargetTrackingScalingPolicy> scalingPolicies)

        A list of scaling policies that define how the capacity provider scales compute instances based on metrics and thresholds.

        Parameters:
        scalingPolicies - A list of scaling policies that define how the capacity provider scales compute instances based on metrics and thresholds.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • scalingPolicies

        CapacityProviderScalingConfig.Builder scalingPolicies​(TargetTrackingScalingPolicy... scalingPolicies)

        A list of scaling policies that define how the capacity provider scales compute instances based on metrics and thresholds.

        Parameters:
        scalingPolicies - A list of scaling policies that define how the capacity provider scales compute instances based on metrics and thresholds.
        Returns:
        Returns a reference to this object so that method calls can be chained together.