public class EditBashRulesRequest extends AbstractModel
header, skipSign
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
Long |
getDealOldEvents()
Get Whether to add existing events to the allowlist.
|
Long |
getEventId()
Get When it is added to the allowlist, the event ID needs to be passed in.
|
String |
getHostIp()
Get Host IP address
|
Long |
getId()
Get Rule ID (leave this parameter blank for addition)
|
Long |
getIsGlobal()
Get Whether the rule is global.
|
Long |
getLevel()
Get Risk level (0: none; 1: high-risk; 2: medium-risk; 3: low-risk)
|
String |
getName()
Get Rule name, which cannot be modified during editing
|
String |
getRule()
Get Regular expression, which cannot be modified during editing.
|
String[] |
getUuids()
Get Client ID array
|
Long |
getWhite()
Get 0: blocklist; 1: allowlist
|
void |
setDealOldEvents(Long DealOldEvents)
Set Whether to add existing events to the allowlist.
|
void |
setEventId(Long EventId)
Set When it is added to the allowlist, the event ID needs to be passed in.
|
void |
setHostIp(String HostIp)
Set Host IP address
|
void |
setId(Long Id)
Set Rule ID (leave this parameter blank for addition)
|
void |
setIsGlobal(Long IsGlobal)
Set Whether the rule is global.
|
void |
setLevel(Long Level)
Set Risk level (0: none; 1: high-risk; 2: medium-risk; 3: low-risk)
|
void |
setName(String Name)
Set Rule name, which cannot be modified during editing
|
void |
setRule(String Rule)
Set Regular expression, which cannot be modified during editing.
|
void |
setUuids(String[] Uuids)
Set Client ID array
|
void |
setWhite(Long White)
Set 0: blocklist; 1: allowlist
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public EditBashRulesRequest()
public EditBashRulesRequest(EditBashRulesRequest source)
public Long getId()
public void setId(Long Id)
Id
- Rule ID (leave this parameter blank for addition)public String[] getUuids()
public void setUuids(String[] Uuids)
Uuids
- Client ID arraypublic String getHostIp()
public void setHostIp(String HostIp)
HostIp
- Host IP addresspublic String getName()
public void setName(String Name)
Name
- Rule name, which cannot be modified during editingpublic Long getLevel()
public void setLevel(Long Level)
Level
- Risk level (0: none; 1: high-risk; 2: medium-risk; 3: low-risk)public String getRule()
public void setRule(String Rule)
Rule
- Regular expression, which cannot be modified during editing. Apply the QueryEscape function to the content and then perform Base64 encoding.public Long getIsGlobal()
public void setIsGlobal(Long IsGlobal)
IsGlobal
- Whether the rule is global. 1: global; 0: not global (default value).public Long getWhite()
public void setWhite(Long White)
White
- 0: blocklist; 1: allowlistpublic Long getEventId()
public void setEventId(Long EventId)
EventId
- When it is added to the allowlist, the event ID needs to be passed in.public Long getDealOldEvents()
public void setDealOldEvents(Long DealOldEvents)
DealOldEvents
- Whether to add existing events to the allowlist. 0: no; 1: yes.Copyright © 2025. All rights reserved.