public class UpsertIpAccessControlRequest extends AbstractModel
header, skipSign| Constructor and Description |
|---|
UpsertIpAccessControlRequest() |
UpsertIpAccessControlRequest(UpsertIpAccessControlRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDomain()
Get 具体域名如:test.qcloudwaf.com
全局域名为:global
|
String |
getEdition()
Get WAF实例类型,sparta-waf表示SAAS型WAF,clb-waf表示负载均衡型WAF
|
String |
getInstanceId()
Get 实例Id
|
String[] |
getItems()
Get IP 参数列表,json数组由IP,source,note,action,valid_ts组成。IP对应配置的IP地址,source固定为custom值,note为注释,action值42为黑名单,40为白名单,valid_ts为有效日期,值为秒级时间戳((如1680570420代表2023-04-04 09:07:00))
|
String |
getSourceType()
Get 可选值为:batch(批量添加)、bot、cc、custom(非批量添加时的默认值)
|
void |
setDomain(String Domain)
Set 具体域名如:test.qcloudwaf.com
全局域名为:global
|
void |
setEdition(String Edition)
Set WAF实例类型,sparta-waf表示SAAS型WAF,clb-waf表示负载均衡型WAF
|
void |
setInstanceId(String InstanceId)
Set 实例Id
|
void |
setItems(String[] Items)
Set IP 参数列表,json数组由IP,source,note,action,valid_ts组成。IP对应配置的IP地址,source固定为custom值,note为注释,action值42为黑名单,40为白名单,valid_ts为有效日期,值为秒级时间戳((如1680570420代表2023-04-04 09:07:00))
|
void |
setSourceType(String SourceType)
Set 可选值为:batch(批量添加)、bot、cc、custom(非批量添加时的默认值)
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic UpsertIpAccessControlRequest()
public UpsertIpAccessControlRequest(UpsertIpAccessControlRequest source)
public String getDomain()
public void setDomain(String Domain)
Domain - 具体域名如:test.qcloudwaf.com
全局域名为:globalpublic String[] getItems()
public void setItems(String[] Items)
Items - IP 参数列表,json数组由IP,source,note,action,valid_ts组成。IP对应配置的IP地址,source固定为custom值,note为注释,action值42为黑名单,40为白名单,valid_ts为有效日期,值为秒级时间戳((如1680570420代表2023-04-04 09:07:00))public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId - 实例Idpublic String getEdition()
public void setEdition(String Edition)
Edition - WAF实例类型,sparta-waf表示SAAS型WAF,clb-waf表示负载均衡型WAFpublic String getSourceType()
public void setSourceType(String SourceType)
SourceType - 可选值为:batch(批量添加)、bot、cc、custom(非批量添加时的默认值)Copyright © 2025. All rights reserved.