Class CreateBlockIgnoreRuleListRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cfw.v20190904.models.CreateBlockIgnoreRuleListRequest
-
public class CreateBlockIgnoreRuleListRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description CreateBlockIgnoreRuleListRequest()CreateBlockIgnoreRuleListRequest(CreateBlockIgnoreRuleListRequest 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 IntrusionDefenseRule[]getRules()Get 规则列表LonggetRuleType()Get 规则类型,1封禁,2放通,不支持域名封禁voidsetRules(IntrusionDefenseRule[] Rules)Set 规则列表voidsetRuleType(Long RuleType)Set 规则类型,1封禁,2放通,不支持域名封禁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
-
CreateBlockIgnoreRuleListRequest
public CreateBlockIgnoreRuleListRequest()
-
CreateBlockIgnoreRuleListRequest
public CreateBlockIgnoreRuleListRequest(CreateBlockIgnoreRuleListRequest 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
-
getRules
public IntrusionDefenseRule[] getRules()
Get 规则列表- Returns:
- Rules 规则列表
-
setRules
public void setRules(IntrusionDefenseRule[] Rules)
Set 规则列表- Parameters:
Rules- 规则列表
-
getRuleType
public Long getRuleType()
Get 规则类型,1封禁,2放通,不支持域名封禁- Returns:
- RuleType 规则类型,1封禁,2放通,不支持域名封禁
-
setRuleType
public void setRuleType(Long RuleType)
Set 规则类型,1封禁,2放通,不支持域名封禁- Parameters:
RuleType- 规则类型,1封禁,2放通,不支持域名封禁
-
-