Interface ServiceManagedEc2AutoScalingConfiguration.Builder

  • Method Details

    • standbyWorkerCount

      ServiceManagedEc2AutoScalingConfiguration.Builder standbyWorkerCount(Integer standbyWorkerCount)

      The number of idle workers maintained and ready to process incoming tasks. The default is 0.

      Parameters:
      standbyWorkerCount - The number of idle workers maintained and ready to process incoming tasks. The default is 0.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • workerIdleDurationSeconds

      ServiceManagedEc2AutoScalingConfiguration.Builder workerIdleDurationSeconds(Integer workerIdleDurationSeconds)

      The number of seconds that a worker can remain idle before it is shut down. The default is 300 seconds (5 minutes).

      Parameters:
      workerIdleDurationSeconds - The number of seconds that a worker can remain idle before it is shut down. The default is 300 seconds (5 minutes).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scaleOutWorkersPerMinute

      ServiceManagedEc2AutoScalingConfiguration.Builder scaleOutWorkersPerMinute(Integer scaleOutWorkersPerMinute)

      The number of workers that can be added per minute to the fleet. The default is a service-defined value that balances efficiency with cost.

      Parameters:
      scaleOutWorkersPerMinute - The number of workers that can be added per minute to the fleet. The default is a service-defined value that balances efficiency with cost.
      Returns:
      Returns a reference to this object so that method calls can be chained together.