public class DDoSGeoIPBlockConfig extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| DDoSGeoIPBlockConfig() | 
| DDoSGeoIPBlockConfig(DDoSGeoIPBlockConfig 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 | getAction()Get 封禁动作,取值[
drop(拦截)
trans(放行)
] | 
| Long[] | getAreaList()Get 当RegionType为customized时,必须填写AreaList,且最多填写128个; | 
| String | getId()Get 配置ID,配置添加成功后生成;添加新配置时不用填写此字段,修改或删除配置时需要填写配置ID | 
| String | getRegionType()Get 区域类型,取值[
oversea(境外)
china(国内)
customized(自定义地区)
] | 
| void | setAction(String Action)Set 封禁动作,取值[
drop(拦截)
trans(放行)
] | 
| void | setAreaList(Long[] AreaList)Set 当RegionType为customized时,必须填写AreaList,且最多填写128个; | 
| void | setId(String Id)Set 配置ID,配置添加成功后生成;添加新配置时不用填写此字段,修改或删除配置时需要填写配置ID | 
| void | setRegionType(String RegionType)Set 区域类型,取值[
oversea(境外)
china(国内)
customized(自定义地区)
] | 
| 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 DDoSGeoIPBlockConfig()
public DDoSGeoIPBlockConfig(DDoSGeoIPBlockConfig source)
public String getRegionType()
public void setRegionType(String RegionType)
RegionType - 区域类型,取值[
oversea(境外)
china(国内)
customized(自定义地区)
]public String getAction()
public void setAction(String Action)
Action - 封禁动作,取值[
drop(拦截)
trans(放行)
]public String getId()
public void setId(String Id)
Id - 配置ID,配置添加成功后生成;添加新配置时不用填写此字段,修改或删除配置时需要填写配置IDpublic Long[] getAreaList()
public void setAreaList(Long[] AreaList)
AreaList - 当RegionType为customized时,必须填写AreaList,且最多填写128个;Copyright © 2025. All rights reserved.