public static final class DetachVServerGroupsRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
DetachVServerGroupsRequest |
build() |
DetachVServerGroupsRequest.Builder |
clientToken(String clientToken)
The client token that is used to ensure the idempotence of the request.
|
DetachVServerGroupsRequest.Builder |
forceDetach(Boolean forceDetach)
Specifies whether to remove the existing instances in the scaling group from the vServer group marked for detachment.
|
DetachVServerGroupsRequest.Builder |
ownerId(Long ownerId)
OwnerId.
|
DetachVServerGroupsRequest.Builder |
regionId(String regionId)
The region ID of the scaling group.
|
DetachVServerGroupsRequest.Builder |
resourceOwnerAccount(String resourceOwnerAccount)
ResourceOwnerAccount.
|
DetachVServerGroupsRequest.Builder |
scalingGroupId(String scalingGroupId)
The ID of the scaling group.
|
DetachVServerGroupsRequest.Builder |
vServerGroups(List<DetachVServerGroupsRequest.VServerGroups> vServerGroups)
The collection of information about the vServer groups marked for detachment.
|
public DetachVServerGroupsRequest.Builder clientToken(String clientToken)
You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [Ensure idempotence](~~25965~~).
public DetachVServerGroupsRequest.Builder forceDetach(Boolean forceDetach)
* true: If you set this parameter to `true`, the detachment of the load balancer from the scaling group causes automatic removal of the existing instances in the scaling group from the corresponding vServer group. * false: If you set this parameter to `false`, the detachment of the load balancer from the scaling group does not cause automatic removal of the existing instances in the scaling group from the corresponding vServer group. Default value: false.
public DetachVServerGroupsRequest.Builder ownerId(Long ownerId)
public DetachVServerGroupsRequest.Builder regionId(String regionId)
public DetachVServerGroupsRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public DetachVServerGroupsRequest.Builder scalingGroupId(String scalingGroupId)
public DetachVServerGroupsRequest.Builder vServerGroups(List<DetachVServerGroupsRequest.VServerGroups> vServerGroups)
public DetachVServerGroupsRequest build()
Copyright © 2024. All rights reserved.