Interface ExpressGatewayScalingTarget.Builder

  • Method Details

    • minTaskCount

      ExpressGatewayScalingTarget.Builder minTaskCount(Integer minTaskCount)

      The minimum number of tasks to run in the Express service.

      Parameters:
      minTaskCount - The minimum number of tasks to run in the Express service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxTaskCount

      ExpressGatewayScalingTarget.Builder maxTaskCount(Integer maxTaskCount)

      The maximum number of tasks to run in the Express service.

      Parameters:
      maxTaskCount - The maximum number of tasks to run in the Express service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • autoScalingMetric

      ExpressGatewayScalingTarget.Builder autoScalingMetric(String autoScalingMetric)

      The metric used for auto-scaling decisions. The default metric used for an Express service is CPUUtilization.

      Parameters:
      autoScalingMetric - The metric used for auto-scaling decisions. The default metric used for an Express service is CPUUtilization.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • autoScalingMetric

      The metric used for auto-scaling decisions. The default metric used for an Express service is CPUUtilization.

      Parameters:
      autoScalingMetric - The metric used for auto-scaling decisions. The default metric used for an Express service is CPUUtilization.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • autoScalingTargetValue

      ExpressGatewayScalingTarget.Builder autoScalingTargetValue(Integer autoScalingTargetValue)

      The target value for the auto-scaling metric. The default value for an Express service is 60.

      Parameters:
      autoScalingTargetValue - The target value for the auto-scaling metric. The default value for an Express service is 60.
      Returns:
      Returns a reference to this object so that method calls can be chained together.