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 Blocking action. 
 | 
Long[] | 
getAreaList()
Get When `RegionType = customized`, AreaList is required and contains up to 128 areas. 
 | 
String | 
getId()
Get Configuration ID, which is generated after a configuration is added. 
 | 
String | 
getRegionType()
Get Region type. 
 | 
void | 
setAction(String Action)
Set Blocking action. 
 | 
void | 
setAreaList(Long[] AreaList)
Set When `RegionType = customized`, AreaList is required and contains up to 128 areas. 
 | 
void | 
setId(String Id)
Set Configuration ID, which is generated after a configuration is added. 
 | 
void | 
setRegionType(String RegionType)
Set Region type. 
 | 
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 - Region type. Valid values:
`oversea`: Outside the Chinese mainland
`china`: The Chinese mainland
`customized`: User-specified region
]public String getAction()
public void setAction(String Action)
Action - Blocking action. Valid values:
`drop`: the request is blocked.
`trans`: the request is allowed.
]public String getId()
public void setId(String Id)
Id - Configuration ID, which is generated after a configuration is added. This field is only required to modify or delete a configuration.public Long[] getAreaList()
public void setAreaList(Long[] AreaList)
AreaList - When `RegionType = customized`, AreaList is required and contains up to 128 areas.Copyright © 2025. All rights reserved.