public class DeleteSecurityPolicyRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
Boolean |
dryRun
Specifies whether to perform a dry run.
|
String |
regionId
The ID of the region where the NLB instance is deployed.
|
String |
securityPolicyId
The ID of the TLS security policy.
|
| 构造器和说明 |
|---|
DeleteSecurityPolicyRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static DeleteSecurityPolicyRequest |
build(Map<String,?> map) |
String |
getClientToken() |
Boolean |
getDryRun() |
String |
getRegionId() |
String |
getSecurityPolicyId() |
DeleteSecurityPolicyRequest |
setClientToken(String clientToken) |
DeleteSecurityPolicyRequest |
setDryRun(Boolean dryRun) |
DeleteSecurityPolicyRequest |
setRegionId(String regionId) |
DeleteSecurityPolicyRequest |
setSecurityPolicyId(String securityPolicyId) |
@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 make sure that it is unique among different requests. The token can only contain ASCII characters.
> If you do not set this parameter, the system automatically uses the value of **RequestId** as the value of **ClientToken**. **RequestId** of each API request may be different.
@NameInMap(value="DryRun") public Boolean dryRun
Specifies whether to perform a dry run. Valid values:
* **true**: performs a dry run. The system checks the required parameters, request syntax, and 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 sends the request. If the request passes the dry run, a 2xx HTTP 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 available regions.
@NameInMap(value="SecurityPolicyId") public String securityPolicyId
The ID of the TLS security policy.
public static DeleteSecurityPolicyRequest build(Map<String,?> map) throws Exception
Exceptionpublic DeleteSecurityPolicyRequest setClientToken(String clientToken)
public String getClientToken()
public DeleteSecurityPolicyRequest setDryRun(Boolean dryRun)
public Boolean getDryRun()
public DeleteSecurityPolicyRequest setRegionId(String regionId)
public String getRegionId()
public DeleteSecurityPolicyRequest setSecurityPolicyId(String securityPolicyId)
public String getSecurityPolicyId()
Copyright © 2023. All rights reserved.