public static final class DetachServerGroupsRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
DetachServerGroupsRequest |
build() |
DetachServerGroupsRequest.Builder |
clientToken(String clientToken)
The client token that is used to ensure the idempotence of the request.
|
DetachServerGroupsRequest.Builder |
forceDetach(Boolean forceDetach)
Specifies whether to remove the existing Elastic Compute Service (ECS) instances or elastic container instances in the scaling group from the server group marked for detachment.
|
DetachServerGroupsRequest.Builder |
ownerId(Long ownerId)
OwnerId.
|
DetachServerGroupsRequest.Builder |
regionId(String regionId)
The region ID of the scaling group.
|
DetachServerGroupsRequest.Builder |
resourceOwnerAccount(String resourceOwnerAccount)
ResourceOwnerAccount.
|
DetachServerGroupsRequest.Builder |
scalingGroupId(String scalingGroupId)
The ID of the scaling group.
|
DetachServerGroupsRequest.Builder |
serverGroups(List<DetachServerGroupsRequest.ServerGroups> serverGroups)
The information about the server groups.
|
public DetachServerGroupsRequest.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 DetachServerGroupsRequest.Builder forceDetach(Boolean forceDetach)
* true * false Default value: false.
public DetachServerGroupsRequest.Builder ownerId(Long ownerId)
public DetachServerGroupsRequest.Builder regionId(String regionId)
public DetachServerGroupsRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public DetachServerGroupsRequest.Builder scalingGroupId(String scalingGroupId)
public DetachServerGroupsRequest.Builder serverGroups(List<DetachServerGroupsRequest.ServerGroups> serverGroups)
public DetachServerGroupsRequest build()
Copyright © 2024. All rights reserved.