public static final class AttachServerGroupsRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
AttachServerGroupsRequest |
build() |
AttachServerGroupsRequest.Builder |
clientToken(String clientToken)
The client token that is used to ensure the idempotence of the request.
|
AttachServerGroupsRequest.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 server group.
|
AttachServerGroupsRequest.Builder |
ownerId(Long ownerId)
OwnerId.
|
AttachServerGroupsRequest.Builder |
regionId(String regionId)
The region ID of the scaling group.
|
AttachServerGroupsRequest.Builder |
resourceOwnerAccount(String resourceOwnerAccount)
ResourceOwnerAccount.
|
AttachServerGroupsRequest.Builder |
scalingGroupId(String scalingGroupId)
The ID of the scaling group.
|
AttachServerGroupsRequest.Builder |
serverGroups(List<AttachServerGroupsRequest.ServerGroups> serverGroups)
The information about the server groups.
|
public AttachServerGroupsRequest.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 AttachServerGroupsRequest.Builder forceAttach(Boolean forceAttach)
* true * false Default value: false.
public AttachServerGroupsRequest.Builder ownerId(Long ownerId)
public AttachServerGroupsRequest.Builder regionId(String regionId)
public AttachServerGroupsRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public AttachServerGroupsRequest.Builder scalingGroupId(String scalingGroupId)
public AttachServerGroupsRequest.Builder serverGroups(List<AttachServerGroupsRequest.ServerGroups> serverGroups)
public AttachServerGroupsRequest build()
Copyright © 2024. All rights reserved.