Class BanConfig
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.tcb.v20180608.models.BanConfig
-
public class BanConfig extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]getCountryBlackList()Get 地域黑名单(国家英文名)String[]getCountryWhiteList()Get 地域白名单(国家英文名)String[]getIpBlackList()Get ip黑名单,支持ipv4、ipv6,支持CIDRString[]getIpWhiteList()Get ip白名单,支持ipv4、ipv6,支持CIDRvoidsetCountryBlackList(String[] CountryBlackList)Set 地域黑名单(国家英文名)voidsetCountryWhiteList(String[] CountryWhiteList)Set 地域白名单(国家英文名)voidsetIpBlackList(String[] IpBlackList)Set ip黑名单,支持ipv4、ipv6,支持CIDRvoidsetIpWhiteList(String[] IpWhiteList)Set ip白名单,支持ipv4、ipv6,支持CIDRvoidtoMap(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
-
BanConfig
public BanConfig()
-
BanConfig
public BanConfig(BanConfig 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
-
getIpWhiteList
public String[] getIpWhiteList()
Get ip白名单,支持ipv4、ipv6,支持CIDR- Returns:
- IpWhiteList ip白名单,支持ipv4、ipv6,支持CIDR
-
setIpWhiteList
public void setIpWhiteList(String[] IpWhiteList)
Set ip白名单,支持ipv4、ipv6,支持CIDR- Parameters:
IpWhiteList- ip白名单,支持ipv4、ipv6,支持CIDR
-
getIpBlackList
public String[] getIpBlackList()
Get ip黑名单,支持ipv4、ipv6,支持CIDR- Returns:
- IpBlackList ip黑名单,支持ipv4、ipv6,支持CIDR
-
setIpBlackList
public void setIpBlackList(String[] IpBlackList)
Set ip黑名单,支持ipv4、ipv6,支持CIDR- Parameters:
IpBlackList- ip黑名单,支持ipv4、ipv6,支持CIDR
-
getCountryWhiteList
public String[] getCountryWhiteList()
Get 地域白名单(国家英文名)- Returns:
- CountryWhiteList 地域白名单(国家英文名)
-
setCountryWhiteList
public void setCountryWhiteList(String[] CountryWhiteList)
Set 地域白名单(国家英文名)- Parameters:
CountryWhiteList- 地域白名单(国家英文名)
-
getCountryBlackList
public String[] getCountryBlackList()
Get 地域黑名单(国家英文名)- Returns:
- CountryBlackList 地域黑名单(国家英文名)
-
setCountryBlackList
public void setCountryBlackList(String[] CountryBlackList)
Set 地域黑名单(国家英文名)- Parameters:
CountryBlackList- 地域黑名单(国家英文名)
-
-