public class GetListenerAttributeRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
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 |
listenerId
The ID of the listener.
|
String |
regionId
The ID of the region where the Network Load Balancer (NLB) instance is deployed.
|
| 构造器和说明 |
|---|
GetListenerAttributeRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static GetListenerAttributeRequest |
build(Map<String,?> map) |
String |
getClientToken() |
Boolean |
getDryRun() |
String |
getListenerId() |
String |
getRegionId() |
GetListenerAttributeRequest |
setClientToken(String clientToken) |
GetListenerAttributeRequest |
setDryRun(Boolean dryRun) |
GetListenerAttributeRequest |
setListenerId(String listenerId) |
GetListenerAttributeRequest |
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 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**: checks the request but does not query the listener details. 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="ListenerId") public String listenerId
The ID of the listener.
@NameInMap(value="RegionId") public String regionId
The ID of the region where the Network Load Balancer (NLB) instance is deployed.
You can call the [DescribeRegions](~~443657~~) operation to query the most recent region list.
public static GetListenerAttributeRequest build(Map<String,?> map) throws Exception
Exceptionpublic GetListenerAttributeRequest setClientToken(String clientToken)
public String getClientToken()
public GetListenerAttributeRequest setDryRun(Boolean dryRun)
public Boolean getDryRun()
public GetListenerAttributeRequest setListenerId(String listenerId)
public String getListenerId()
public GetListenerAttributeRequest setRegionId(String regionId)
public String getRegionId()
Copyright © 2023. All rights reserved.