public class BashRule extends AbstractModel
header, skipSign
Constructor and Description |
---|
BashRule() |
BashRule(BashRule 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 |
---|---|
String |
getCreateTime()
Get Creation time
|
Long |
getDealOldEvents()
Get Whether to process previous events: 0: do not process; 1: process
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getDecription()
Deprecated.
|
String |
getDescription()
Get Rule description
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getHostip()
Get Host IP
|
Long |
getId()
Get Rule ID
|
Long |
getIsGlobal()
Get Whether a global rule
|
Long |
getLevel()
Get Risk level (0: none, 1: high-risk, 2: medium-risk, 3: low-risk)
|
String |
getModifyTime()
Get Modification time
|
String |
getName()
Get Rule name
|
String |
getOperator()
Get Operator
|
String |
getRule()
Get Regular expression
|
Long |
getStatus()
Get Status (0: valid; 1: invalid)
|
String |
getUuid()
Get Client ID
|
String[] |
getUuids()
Get Arrays of UUIDs for servers to be effective
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getWhite()
Get 0= blocklist; 1= allowlist
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setCreateTime(String CreateTime)
Set Creation time
|
void |
setDealOldEvents(Long DealOldEvents)
Set Whether to process previous events: 0: do not process; 1: process
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setDecription(String Decription)
Deprecated.
|
void |
setDescription(String Description)
Set Rule description
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setHostip(String Hostip)
Set Host IP
|
void |
setId(Long Id)
Set Rule ID
|
void |
setIsGlobal(Long IsGlobal)
Set Whether a global rule
|
void |
setLevel(Long Level)
Set Risk level (0: none, 1: high-risk, 2: medium-risk, 3: low-risk)
|
void |
setModifyTime(String ModifyTime)
Set Modification time
|
void |
setName(String Name)
Set Rule name
|
void |
setOperator(String Operator)
Set Operator
|
void |
setRule(String Rule)
Set Regular expression
|
void |
setStatus(Long Status)
Set Status (0: valid; 1: invalid)
|
void |
setUuid(String Uuid)
Set Client ID
|
void |
setUuids(String[] Uuids)
Set Arrays of UUIDs for servers to be effective
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setWhite(Long White)
Set 0= blocklist; 1= allowlist
Note: This field may return null, indicating that no valid values can be obtained.
|
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 BashRule()
public BashRule(BashRule source)
public Long getId()
public void setId(Long Id)
Id
- Rule IDpublic String getUuid()
public void setUuid(String Uuid)
Uuid
- Client IDpublic String getName()
public void setName(String Name)
Name
- Rule namepublic 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@Deprecated public String getDecription()
@Deprecated public void setDecription(String Decription)
Decription
- Rule descriptionpublic String getOperator()
public void setOperator(String Operator)
Operator
- Operatorpublic Long getIsGlobal()
public void setIsGlobal(Long IsGlobal)
IsGlobal
- Whether a global rulepublic Long getStatus()
public void setStatus(Long Status)
Status
- Status (0: valid; 1: invalid)public String getCreateTime()
public void setCreateTime(String CreateTime)
CreateTime
- Creation timepublic String getModifyTime()
public void setModifyTime(String ModifyTime)
ModifyTime
- Modification timepublic String getHostip()
public void setHostip(String Hostip)
Hostip
- Host IPpublic String[] getUuids()
public void setUuids(String[] Uuids)
Uuids
- Arrays of UUIDs for servers to be effective
Note: This field may return null, indicating that no valid values can be obtained.public Long getWhite()
public void setWhite(Long White)
White
- 0= blocklist; 1= allowlist
Note: This field may return null, indicating that no valid values can be obtained.public Long getDealOldEvents()
public void setDealOldEvents(Long DealOldEvents)
DealOldEvents
- Whether to process previous events: 0: do not process; 1: process
Note: This field may return null, indicating that no valid values can be obtained.public String getDescription()
public void setDescription(String Description)
Description
- Rule description
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2024. All rights reserved.