public class AddIpControlPolicyItemRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
appId
The restriction policy on app IDs for a specific policy.
|
String |
cidrIp
The IP addresses or CIDR blocks involved in the policy.
|
String |
ipControlId
The ID of the ACL.
|
String |
securityToken |
| 构造器和说明 |
|---|
AddIpControlPolicyItemRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static AddIpControlPolicyItemRequest |
build(Map<String,?> map) |
String |
getAppId() |
String |
getCidrIp() |
String |
getIpControlId() |
String |
getSecurityToken() |
AddIpControlPolicyItemRequest |
setAppId(String appId) |
AddIpControlPolicyItemRequest |
setCidrIp(String cidrIp) |
AddIpControlPolicyItemRequest |
setIpControlId(String ipControlId) |
AddIpControlPolicyItemRequest |
setSecurityToken(String securityToken) |
@NameInMap(value="AppId") public String appId
The restriction policy on app IDs for a specific policy. You can restrict app IDs only for whitelists. The IpControlType values of whitelists are ALLOW.
* You can add only one app ID restriction policy at a time.
* If this parameter is empty, no restriction is imposed on the app IDs.
* If this parameter is not empty, there is restriction not only on IP addresses, but also on apps.
* Please note that if this parameter is not empty and the security authentication method of the API is No Authentication, all API calls are restricted.
* If this parameter is not empty for a blacklist, API Gateway automatically skips this parameter and sets only restriction on IP addresses. The IpControlType value of a blacklist is REFUSE.
@NameInMap(value="CidrIp") public String cidrIp
The IP addresses or CIDR blocks involved in the policy. Separate multiple IP addresses or CIDR blocks with semicolons (;). You can specify a maximum of 10 IP addresses or CIDR blocks.
@NameInMap(value="IpControlId") public String ipControlId
The ID of the ACL. The ID is unique.
@NameInMap(value="SecurityToken") public String securityToken
public static AddIpControlPolicyItemRequest build(Map<String,?> map) throws Exception
Exceptionpublic AddIpControlPolicyItemRequest setAppId(String appId)
public String getAppId()
public AddIpControlPolicyItemRequest setCidrIp(String cidrIp)
public String getCidrIp()
public AddIpControlPolicyItemRequest setIpControlId(String ipControlId)
public String getIpControlId()
public AddIpControlPolicyItemRequest setSecurityToken(String securityToken)
public String getSecurityToken()
Copyright © 2023. All rights reserved.