public static final class CreateScalingConfigurationRequest.PrivatePoolOptions.Builder extends Object
| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
CreateScalingConfigurationRequest.PrivatePoolOptions |
build() |
CreateScalingConfigurationRequest.PrivatePoolOptions.Builder |
id(String id)
The ID of the private pool.
|
CreateScalingConfigurationRequest.PrivatePoolOptions.Builder |
matchCriteria(String matchCriteria)
The type of the private pool that you want to use to start ECS instances.
|
public CreateScalingConfigurationRequest.PrivatePoolOptions.Builder id(String id)
public CreateScalingConfigurationRequest.PrivatePoolOptions.Builder matchCriteria(String matchCriteria)
* Open: open private pool. Auto Scaling selects a matching open private pool to start instances. If no matching open private pools are found, Auto Scaling uses the resources in the public pool to start instances. In this case, you do not need to specify PrivatePoolOptions.Id. * Target: specified private pool. Auto Scaling uses the resources in the specified private pool to start ECS instances. If the specified private pool is unavailable, Auto Scaling cannot start ECS instances. If you set this parameter to Target, you must specify PrivatePoolOptions.Id. * None: no private pool. Auto Scaling does not use the resources in private pools to start ECS instances.
public CreateScalingConfigurationRequest.PrivatePoolOptions build()
Copyright © 2024. All rights reserved.