public class UpdateLoadBalancerAttributeRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
Integer |
cps
The maximum number of connections that can be created per second on the NLB instance.
|
Boolean |
crossZoneEnabled
Specifies whether to enable cross-zone load balancing for the NLB instance.
|
Boolean |
dryRun
Specifies whether to perform a dry run, without performing the actual request.
|
String |
loadBalancerId
The NLB instance ID.
|
String |
loadBalancerName
The NLB instance name.
|
String |
regionId
The region ID of the NLB instance.
|
| 构造器和说明 |
|---|
UpdateLoadBalancerAttributeRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static UpdateLoadBalancerAttributeRequest |
build(Map<String,?> map) |
String |
getClientToken() |
Integer |
getCps() |
Boolean |
getCrossZoneEnabled() |
Boolean |
getDryRun() |
String |
getLoadBalancerId() |
String |
getLoadBalancerName() |
String |
getRegionId() |
UpdateLoadBalancerAttributeRequest |
setClientToken(String clientToken) |
UpdateLoadBalancerAttributeRequest |
setCps(Integer cps) |
UpdateLoadBalancerAttributeRequest |
setCrossZoneEnabled(Boolean crossZoneEnabled) |
UpdateLoadBalancerAttributeRequest |
setDryRun(Boolean dryRun) |
UpdateLoadBalancerAttributeRequest |
setLoadBalancerId(String loadBalancerId) |
UpdateLoadBalancerAttributeRequest |
setLoadBalancerName(String loadBalancerName) |
UpdateLoadBalancerAttributeRequest |
setRegionId(String regionId) |
@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 token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.
> If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.
@NameInMap(value="Cps") public Integer cps
The maximum number of connections that can be created per second on the NLB instance. Valid values: **1** to **1000000**.
@NameInMap(value="CrossZoneEnabled") public Boolean crossZoneEnabled
Specifies whether to enable cross-zone load balancing for the NLB instance. Valid values:
* **true**
* **false**
@NameInMap(value="DryRun") public Boolean dryRun
Specifies whether to perform a dry run, without performing the actual request. Valid values:
* **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
* **false**(default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
@NameInMap(value="LoadBalancerId") public String loadBalancerId
The NLB instance ID.
@NameInMap(value="LoadBalancerName") public String loadBalancerName
The NLB instance name.
The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (\_), and hyphens (-). The name must start with a letter.
@NameInMap(value="RegionId") public String regionId
The region ID of the NLB instance.
You can call the [DescribeRegions](~~443657~~) operation to query the most recent region list.
public static UpdateLoadBalancerAttributeRequest build(Map<String,?> map) throws Exception
Exceptionpublic UpdateLoadBalancerAttributeRequest setClientToken(String clientToken)
public String getClientToken()
public UpdateLoadBalancerAttributeRequest setCps(Integer cps)
public Integer getCps()
public UpdateLoadBalancerAttributeRequest setCrossZoneEnabled(Boolean crossZoneEnabled)
public Boolean getCrossZoneEnabled()
public UpdateLoadBalancerAttributeRequest setDryRun(Boolean dryRun)
public Boolean getDryRun()
public UpdateLoadBalancerAttributeRequest setLoadBalancerId(String loadBalancerId)
public String getLoadBalancerId()
public UpdateLoadBalancerAttributeRequest setLoadBalancerName(String loadBalancerName)
public String getLoadBalancerName()
public UpdateLoadBalancerAttributeRequest setRegionId(String regionId)
public String getRegionId()
Copyright © 2023. All rights reserved.