public class BlockIgnoreRule extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| BlockIgnoreRule() | 
| BlockIgnoreRule(BlockIgnoreRule 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 | 
|---|---|
| Long | getAction()Get 规则类型:1封禁,2放通 | 
| String | getAddress()Get 地理位置 | 
| String | getComment()Get 备注 | 
| String | getCountry()Get 国家 | 
| CustomWhiteRule | getCustomRule()Get 自定义规则细节 | 
| Long | getDirection()Get 方向:1入站,0出站 | 
| String | getDirectionList()Get 所有方向聚合成字符串 | 
| String | getDomain()Get 域名 | 
| String | getEndTime()Get 规则生效结束时间 | 
| String | getEventName()Get 来源事件名称 | 
| Long | getFwType()Get 1 border 2 nat 4 vpc 8 border-serial | 
| String | getIgnoreReason()Get 忽略原因 | 
| String | getIoc()Get 规则ip或白名单内容 | 
| String | getIocInfo()Get 白名单信息 | 
| String | getIocName()Get 资产实例名称、自定义策略名称等 | 
| String | getIP()Get IP | 
| String | getLastHitTime()Get 上次命中时间 | 
| String | getLevel()Get 危险等级 | 
| Long | getMatchTimes()Get 规则命中次数 | 
| String | getProtocol()Get 协议 | 
| Long | getRuleType()Get 规则类型,取值:1 封禁,2外部IP,3域名,4情报,5assets,6自定义策略,7入侵防御规则id (2-7属于白名单类型) | 
| String | getSource()Get 安全事件来源 | 
| String | getStartTime()Get 规则生效开始时间 | 
| String | getUniqueId()Get 规则id | 
| void | setAction(Long Action)Set 规则类型:1封禁,2放通 | 
| void | setAddress(String Address)Set 地理位置 | 
| void | setComment(String Comment)Set 备注 | 
| void | setCountry(String Country)Set 国家 | 
| void | setCustomRule(CustomWhiteRule CustomRule)Set 自定义规则细节 | 
| void | setDirection(Long Direction)Set 方向:1入站,0出站 | 
| void | setDirectionList(String DirectionList)Set 所有方向聚合成字符串 | 
| void | setDomain(String Domain)Set 域名 | 
| void | setEndTime(String EndTime)Set 规则生效结束时间 | 
| void | setEventName(String EventName)Set 来源事件名称 | 
| void | setFwType(Long FwType)Set 1 border 2 nat 4 vpc 8 border-serial | 
| void | setIgnoreReason(String IgnoreReason)Set 忽略原因 | 
| void | setIoc(String Ioc)Set 规则ip或白名单内容 | 
| void | setIocInfo(String IocInfo)Set 白名单信息 | 
| void | setIocName(String IocName)Set 资产实例名称、自定义策略名称等 | 
| void | setIP(String IP)Set IP | 
| void | setLastHitTime(String LastHitTime)Set 上次命中时间 | 
| void | setLevel(String Level)Set 危险等级 | 
| void | setMatchTimes(Long MatchTimes)Set 规则命中次数 | 
| void | setProtocol(String Protocol)Set 协议 | 
| void | setRuleType(Long RuleType)Set 规则类型,取值:1 封禁,2外部IP,3域名,4情报,5assets,6自定义策略,7入侵防御规则id (2-7属于白名单类型) | 
| void | setSource(String Source)Set 安全事件来源 | 
| void | setStartTime(String StartTime)Set 规则生效开始时间 | 
| void | setUniqueId(String UniqueId)Set 规则id | 
| 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 BlockIgnoreRule()
public BlockIgnoreRule(BlockIgnoreRule source)
public Long getRuleType()
public void setRuleType(Long RuleType)
RuleType - 规则类型,取值:1 封禁,2外部IP,3域名,4情报,5assets,6自定义策略,7入侵防御规则id (2-7属于白名单类型)public String getIoc()
public void setIoc(String Ioc)
Ioc - 规则ip或白名单内容public String getIocName()
public void setIocName(String IocName)
IocName - 资产实例名称、自定义策略名称等public String getIocInfo()
public void setIocInfo(String IocInfo)
IocInfo - 白名单信息public String getDomain()
public void setDomain(String Domain)
Domain - 域名public String getIP()
public void setIP(String IP)
IP - IPpublic String getLevel()
public void setLevel(String Level)
Level - 危险等级public String getEventName()
public void setEventName(String EventName)
EventName - 来源事件名称public Long getDirection()
public void setDirection(Long Direction)
Direction - 方向:1入站,0出站public String getDirectionList()
public void setDirectionList(String DirectionList)
DirectionList - 所有方向聚合成字符串public String getProtocol()
public void setProtocol(String Protocol)
Protocol - 协议public String getAddress()
public void setAddress(String Address)
Address - 地理位置public Long getAction()
public void setAction(Long Action)
Action - 规则类型:1封禁,2放通public String getStartTime()
public void setStartTime(String StartTime)
StartTime - 规则生效开始时间public String getEndTime()
public void setEndTime(String EndTime)
EndTime - 规则生效结束时间public String getIgnoreReason()
public void setIgnoreReason(String IgnoreReason)
IgnoreReason - 忽略原因public String getSource()
public void setSource(String Source)
Source - 安全事件来源public String getUniqueId()
public void setUniqueId(String UniqueId)
UniqueId - 规则idpublic Long getMatchTimes()
public void setMatchTimes(Long MatchTimes)
MatchTimes - 规则命中次数public String getCountry()
public void setCountry(String Country)
Country - 国家public String getComment()
public void setComment(String Comment)
Comment - 备注public String getLastHitTime()
public void setLastHitTime(String LastHitTime)
LastHitTime - 上次命中时间public CustomWhiteRule getCustomRule()
public void setCustomRule(CustomWhiteRule CustomRule)
CustomRule - 自定义规则细节public Long getFwType()
public void setFwType(Long FwType)
FwType - 1 border 2 nat 4 vpc 8 border-serialCopyright © 2025. All rights reserved.