public class AddServersToServerGroupRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 类和说明 |
|---|---|
static class |
AddServersToServerGroupRequest.AddServersToServerGroupRequestServers |
| 限定符和类型 | 字段和说明 |
|---|---|
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
Boolean |
dryRun
Specifies whether only to precheck the request.
|
String |
regionId
The ID of the region where the NLB instance is deployed.
|
String |
serverGroupId
The ID of the server group.
|
List<AddServersToServerGroupRequest.AddServersToServerGroupRequestServers> |
servers
A list of backend servers.
|
| 构造器和说明 |
|---|
AddServersToServerGroupRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static AddServersToServerGroupRequest |
build(Map<String,?> map) |
String |
getClientToken() |
Boolean |
getDryRun() |
String |
getRegionId() |
String |
getServerGroupId() |
List<AddServersToServerGroupRequest.AddServersToServerGroupRequestServers> |
getServers() |
AddServersToServerGroupRequest |
setClientToken(String clientToken) |
AddServersToServerGroupRequest |
setDryRun(Boolean dryRun) |
AddServersToServerGroupRequest |
setRegionId(String regionId) |
AddServersToServerGroupRequest |
setServerGroupId(String serverGroupId) |
AddServersToServerGroupRequest |
setServers(List<AddServersToServerGroupRequest.AddServersToServerGroupRequestServers> servers) |
@NameInMap(value="ClientToken") public String clientToken
The client token that is used to ensure the idempotence of the request.
You can use the client to generate the value, but you must ensure that it is unique among all requests. ClientToken can contain only ASCII characters.
> If you do not set this parameter, **ClientToken** is set to the value of **RequestId**. The value of **RequestId** of each API request may be different.
@NameInMap(value="DryRun") public Boolean dryRun
Specifies whether only to precheck the request. Valid values:
* **true**: prechecks the request but does not add the servers to the server group. The system prechecks the required parameters, request syntax, and limits. If the request fails the precheck, an error message is returned. If the request passes the precheck, the `DryRunOperation` error code is returned.
* **false** (default): sends the request. If the request passes the precheck, an HTTP 2xx status code is returned and the operation is performed.
@NameInMap(value="RegionId") public String regionId
The ID of the region where the NLB instance is deployed.
You can call the [DescribeRegions](~~443657~~) operation to query the most recent region list.
@NameInMap(value="ServerGroupId") public String serverGroupId
The ID of the server group.
@NameInMap(value="Servers") public List<AddServersToServerGroupRequest.AddServersToServerGroupRequestServers> servers
A list of backend servers.
public static AddServersToServerGroupRequest build(Map<String,?> map) throws Exception
Exceptionpublic AddServersToServerGroupRequest setClientToken(String clientToken)
public String getClientToken()
public AddServersToServerGroupRequest setDryRun(Boolean dryRun)
public Boolean getDryRun()
public AddServersToServerGroupRequest setRegionId(String regionId)
public String getRegionId()
public AddServersToServerGroupRequest setServerGroupId(String serverGroupId)
public String getServerGroupId()
public AddServersToServerGroupRequest setServers(List<AddServersToServerGroupRequest.AddServersToServerGroupRequestServers> servers)
public List<AddServersToServerGroupRequest.AddServersToServerGroupRequestServers> getServers()
Copyright © 2023. All rights reserved.