public class UpsertIpAccessControlRequest extends AbstractModel
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 域名
|
String |
getEdition()
Get WAF实例类型,sparta-waf表示SAAS型WAF,clb-waf表示负载均衡型WAF
|
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,否则为空
|
void |
setDomain(String Domain)
Set 域名
|
void |
setEdition(String Edition)
Set WAF实例类型,sparta-waf表示SAAS型WAF,clb-waf表示负载均衡型WAF
|
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,否则为空
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, getSkipSign, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public UpsertIpAccessControlRequest()
public UpsertIpAccessControlRequest(UpsertIpAccessControlRequest source)
public String getDomain()
public void setDomain(String Domain)
Domain
- 域名public 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 getEdition()
public void setEdition(String Edition)
Edition
- WAF实例类型,sparta-waf表示SAAS型WAF,clb-waf表示负载均衡型WAFpublic String getSourceType()
public void setSourceType(String SourceType)
SourceType
- 是否为多域名黑白名单,当为多域名的黑白名单时,取值为batch,否则为空Copyright © 2023. All rights reserved.