public static final class AttachAlbServerGroupsRequest.AlbServerGroups.Builder extends Object
| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
AttachAlbServerGroupsRequest.AlbServerGroups.Builder |
albServerGroupId(String albServerGroupId)
The ID of the ALB server group.
|
AttachAlbServerGroupsRequest.AlbServerGroups |
build() |
AttachAlbServerGroupsRequest.AlbServerGroups.Builder |
port(Integer port)
The port used by ECS instances or elastic container instances after being added as backend servers to the ALB server group.
|
AttachAlbServerGroupsRequest.AlbServerGroups.Builder |
weight(Integer weight)
The weight of an ECS instance or elastic container instance after being added as a backend server to the ALB server group.
|
public AttachAlbServerGroupsRequest.AlbServerGroups.Builder albServerGroupId(String albServerGroupId)
You can attach only a limited number of ALB server groups to a scaling group. To view the predefined quota limit or manually request a quota increase, go to [Quota Center](https://quotas.console.aliyun.com/products/ess/quotas).
public AttachAlbServerGroupsRequest.AlbServerGroups.Builder port(Integer port)
Valid values: 1 to 65535.
public AttachAlbServerGroupsRequest.AlbServerGroups.Builder weight(Integer weight)
If you assign a higher weight to an instance, the instance is allocated a larger proportion of access requests. If you assign zero weight to an instance, the instance is allocated no access requests.
public AttachAlbServerGroupsRequest.AlbServerGroups build()
Copyright © 2024. All rights reserved.