Class UpsertIpAccessControlRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.waf.v20180125.models.UpsertIpAccessControlRequest
-
public class UpsertIpAccessControlRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDomain()Get 域名StringgetEdition()Get WAF实例类型,sparta-waf表示SAAS型WAF,clb-waf表示负载均衡型WAFString[]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))StringgetSourceType()Get 是否为多域名黑白名单,当为多域名的黑白名单时,取值为batch,否则为空voidsetDomain(String Domain)Set 域名voidsetEdition(String Edition)Set WAF实例类型,sparta-waf表示SAAS型WAF,clb-waf表示负载均衡型WAFvoidsetItems(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))voidsetSourceType(String SourceType)Set 是否为多域名黑白名单,当为多域名的黑白名单时,取值为batch,否则为空voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
UpsertIpAccessControlRequest
public UpsertIpAccessControlRequest()
-
UpsertIpAccessControlRequest
public 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.
-
-
Method Detail
-
getDomain
public String getDomain()
Get 域名- Returns:
- Domain 域名
-
setDomain
public void setDomain(String Domain)
Set 域名- Parameters:
Domain- 域名
-
getItems
public 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))- Returns:
- 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))
-
setItems
public 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))- Parameters:
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))
-
getEdition
public String getEdition()
Get WAF实例类型,sparta-waf表示SAAS型WAF,clb-waf表示负载均衡型WAF- Returns:
- Edition WAF实例类型,sparta-waf表示SAAS型WAF,clb-waf表示负载均衡型WAF
-
setEdition
public void setEdition(String Edition)
Set WAF实例类型,sparta-waf表示SAAS型WAF,clb-waf表示负载均衡型WAF- Parameters:
Edition- WAF实例类型,sparta-waf表示SAAS型WAF,clb-waf表示负载均衡型WAF
-
getSourceType
public String getSourceType()
Get 是否为多域名黑白名单,当为多域名的黑白名单时,取值为batch,否则为空- Returns:
- SourceType 是否为多域名黑白名单,当为多域名的黑白名单时,取值为batch,否则为空
-
setSourceType
public void setSourceType(String SourceType)
Set 是否为多域名黑白名单,当为多域名的黑白名单时,取值为batch,否则为空- Parameters:
SourceType- 是否为多域名黑白名单,当为多域名的黑白名单时,取值为batch,否则为空
-
-