Interface ServiceManagedEc2AutoScalingConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ServiceManagedEc2AutoScalingConfiguration.Builder,,ServiceManagedEc2AutoScalingConfiguration> SdkBuilder<ServiceManagedEc2AutoScalingConfiguration.Builder,,ServiceManagedEc2AutoScalingConfiguration> SdkPojo
- Enclosing class:
ServiceManagedEc2AutoScalingConfiguration
@Mutable
@NotThreadSafe
public static interface ServiceManagedEc2AutoScalingConfiguration.Builder
extends SdkPojo, CopyableBuilder<ServiceManagedEc2AutoScalingConfiguration.Builder,ServiceManagedEc2AutoScalingConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionscaleOutWorkersPerMinute(Integer scaleOutWorkersPerMinute) The number of workers that can be added per minute to the fleet.standbyWorkerCount(Integer standbyWorkerCount) The number of idle workers maintained and ready to process incoming tasks.workerIdleDurationSeconds(Integer workerIdleDurationSeconds) The number of seconds that a worker can remain idle before it is shut down.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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.
-