Class EditBashRulesRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cwp.v20180228.models.EditBashRulesRequest
-
public class EditBashRulesRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description EditBashRulesRequest()EditBashRulesRequest(EditBashRulesRequest 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 LonggetDealOldEvents()Get 是否处理旧事件为白名单 0=不处理 1=处理LonggetEventId()Get 事件列表点击“加入白名单”时,需要传EventId 事件的idStringgetHostIp()Get 主机IPLonggetId()Get 规则ID(新增时不填)LonggetIsGlobal()Get 是否全局规则(默认否):1-全局,0-非全局LonggetLevel()Get 危险等级(0:无,1: 高危 2:中危 3: 低危)StringgetName()Get 规则名称,编辑时不可修改规则名称StringgetRule()Get 正则表达式 ,编辑时不可修改正则表达式,需要对内容QueryEscape后再base64String[]getUuids()Get 客户端ID数组LonggetWhite()Get 0=黑名单, 1=白名单voidsetDealOldEvents(Long DealOldEvents)Set 是否处理旧事件为白名单 0=不处理 1=处理voidsetEventId(Long EventId)Set 事件列表点击“加入白名单”时,需要传EventId 事件的idvoidsetHostIp(String HostIp)Set 主机IPvoidsetId(Long Id)Set 规则ID(新增时不填)voidsetIsGlobal(Long IsGlobal)Set 是否全局规则(默认否):1-全局,0-非全局voidsetLevel(Long Level)Set 危险等级(0:无,1: 高危 2:中危 3: 低危)voidsetName(String Name)Set 规则名称,编辑时不可修改规则名称voidsetRule(String Rule)Set 正则表达式 ,编辑时不可修改正则表达式,需要对内容QueryEscape后再base64voidsetUuids(String[] Uuids)Set 客户端ID数组voidsetWhite(Long White)Set 0=黑名单, 1=白名单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
-
EditBashRulesRequest
public EditBashRulesRequest()
-
EditBashRulesRequest
public EditBashRulesRequest(EditBashRulesRequest 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
-
getId
public Long getId()
Get 规则ID(新增时不填)- Returns:
- Id 规则ID(新增时不填)
-
setId
public void setId(Long Id)
Set 规则ID(新增时不填)- Parameters:
Id- 规则ID(新增时不填)
-
getUuids
public String[] getUuids()
Get 客户端ID数组- Returns:
- Uuids 客户端ID数组
-
setUuids
public void setUuids(String[] Uuids)
Set 客户端ID数组- Parameters:
Uuids- 客户端ID数组
-
getHostIp
public String getHostIp()
Get 主机IP- Returns:
- HostIp 主机IP
-
setHostIp
public void setHostIp(String HostIp)
Set 主机IP- Parameters:
HostIp- 主机IP
-
getName
public String getName()
Get 规则名称,编辑时不可修改规则名称- Returns:
- Name 规则名称,编辑时不可修改规则名称
-
setName
public void setName(String Name)
Set 规则名称,编辑时不可修改规则名称- Parameters:
Name- 规则名称,编辑时不可修改规则名称
-
getLevel
public Long getLevel()
Get 危险等级(0:无,1: 高危 2:中危 3: 低危)- Returns:
- Level 危险等级(0:无,1: 高危 2:中危 3: 低危)
-
setLevel
public void setLevel(Long Level)
Set 危险等级(0:无,1: 高危 2:中危 3: 低危)- Parameters:
Level- 危险等级(0:无,1: 高危 2:中危 3: 低危)
-
getRule
public String getRule()
Get 正则表达式 ,编辑时不可修改正则表达式,需要对内容QueryEscape后再base64- Returns:
- Rule 正则表达式 ,编辑时不可修改正则表达式,需要对内容QueryEscape后再base64
-
setRule
public void setRule(String Rule)
Set 正则表达式 ,编辑时不可修改正则表达式,需要对内容QueryEscape后再base64- Parameters:
Rule- 正则表达式 ,编辑时不可修改正则表达式,需要对内容QueryEscape后再base64
-
getIsGlobal
public Long getIsGlobal()
Get 是否全局规则(默认否):1-全局,0-非全局- Returns:
- IsGlobal 是否全局规则(默认否):1-全局,0-非全局
-
setIsGlobal
public void setIsGlobal(Long IsGlobal)
Set 是否全局规则(默认否):1-全局,0-非全局- Parameters:
IsGlobal- 是否全局规则(默认否):1-全局,0-非全局
-
getWhite
public Long getWhite()
Get 0=黑名单, 1=白名单- Returns:
- White 0=黑名单, 1=白名单
-
setWhite
public void setWhite(Long White)
Set 0=黑名单, 1=白名单- Parameters:
White- 0=黑名单, 1=白名单
-
getEventId
public Long getEventId()
Get 事件列表点击“加入白名单”时,需要传EventId 事件的id- Returns:
- EventId 事件列表点击“加入白名单”时,需要传EventId 事件的id
-
setEventId
public void setEventId(Long EventId)
Set 事件列表点击“加入白名单”时,需要传EventId 事件的id- Parameters:
EventId- 事件列表点击“加入白名单”时,需要传EventId 事件的id
-
getDealOldEvents
public Long getDealOldEvents()
Get 是否处理旧事件为白名单 0=不处理 1=处理- Returns:
- DealOldEvents 是否处理旧事件为白名单 0=不处理 1=处理
-
setDealOldEvents
public void setDealOldEvents(Long DealOldEvents)
Set 是否处理旧事件为白名单 0=不处理 1=处理- Parameters:
DealOldEvents- 是否处理旧事件为白名单 0=不处理 1=处理
-
-