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