public class AttachCommonBandwidthPackageToLoadBalancerRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
bandwidthPackageId
The ID of the EIP bandwidth plan.
|
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 |
loadBalancerId
The ID of the NLB instance.
|
String |
regionId
The ID of the region where the NLB instance is deployed.
|
| 构造器和说明 |
|---|
AttachCommonBandwidthPackageToLoadBalancerRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static AttachCommonBandwidthPackageToLoadBalancerRequest |
build(Map<String,?> map) |
String |
getBandwidthPackageId() |
String |
getClientToken() |
Boolean |
getDryRun() |
String |
getLoadBalancerId() |
String |
getRegionId() |
AttachCommonBandwidthPackageToLoadBalancerRequest |
setBandwidthPackageId(String bandwidthPackageId) |
AttachCommonBandwidthPackageToLoadBalancerRequest |
setClientToken(String clientToken) |
AttachCommonBandwidthPackageToLoadBalancerRequest |
setDryRun(Boolean dryRun) |
AttachCommonBandwidthPackageToLoadBalancerRequest |
setLoadBalancerId(String loadBalancerId) |
AttachCommonBandwidthPackageToLoadBalancerRequest |
setRegionId(String regionId) |
@NameInMap(value="BandwidthPackageId") public String bandwidthPackageId
The ID of the EIP bandwidth plan.
@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 associate the EIP bandwidth plan with the NLB instance. 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="LoadBalancerId") public String loadBalancerId
The ID of the NLB instance.
@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.
public AttachCommonBandwidthPackageToLoadBalancerRequest()
public static AttachCommonBandwidthPackageToLoadBalancerRequest build(Map<String,?> map) throws Exception
Exceptionpublic AttachCommonBandwidthPackageToLoadBalancerRequest setBandwidthPackageId(String bandwidthPackageId)
public String getBandwidthPackageId()
public AttachCommonBandwidthPackageToLoadBalancerRequest setClientToken(String clientToken)
public String getClientToken()
public AttachCommonBandwidthPackageToLoadBalancerRequest setDryRun(Boolean dryRun)
public Boolean getDryRun()
public AttachCommonBandwidthPackageToLoadBalancerRequest setLoadBalancerId(String loadBalancerId)
public String getLoadBalancerId()
public AttachCommonBandwidthPackageToLoadBalancerRequest setRegionId(String regionId)
public String getRegionId()
Copyright © 2023. All rights reserved.