public class ModifyFileTamperRuleRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
ModifyFileTamperRuleRequest() |
ModifyFileTamperRuleRequest(ModifyFileTamperRuleRequest 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 |
getAddWhiteType()
Get Allowlisted processing type
cur: add the current items to the allowlist
all: add all objects that meet the conditions to the allowlist
|
Long |
getId()
Get Rule ID.
|
Long |
getIsGlobal()
Get Whether the rule is global (not global by default). 0: no; 1: yes.
|
Long |
getLevel()
Get Risk Level.
|
String |
getName()
Get Rule name
|
FileTamperRule[] |
getRules()
Get Rule content
|
Long |
getStatus()
Get Enabling status.
|
String[] |
getUuids()
Get UUID array of affected hosts
|
void |
setAddWhiteType(String AddWhiteType)
Set Allowlisted processing type
cur: add the current items to the allowlist
all: add all objects that meet the conditions to the allowlist
|
void |
setId(Long Id)
Set Rule ID.
|
void |
setIsGlobal(Long IsGlobal)
Set Whether the rule is global (not global by default). 0: no; 1: yes.
|
void |
setLevel(Long Level)
Set Risk Level.
|
void |
setName(String Name)
Set Rule name
|
void |
setRules(FileTamperRule[] Rules)
Set Rule content
|
void |
setStatus(Long Status)
Set Enabling status.
|
void |
setUuids(String[] Uuids)
Set UUID array of affected hosts
|
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 ModifyFileTamperRuleRequest()
public ModifyFileTamperRuleRequest(ModifyFileTamperRuleRequest source)
public String getName()
public void setName(String Name)
Name
- Rule namepublic FileTamperRule[] getRules()
public void setRules(FileTamperRule[] Rules)
Rules
- Rule contentpublic Long getIsGlobal()
public void setIsGlobal(Long IsGlobal)
IsGlobal
- Whether the rule is global (not global by default). 0: no; 1: yes. If the value is 1, Uuids can be left blank.public Long getStatus()
public void setStatus(Long Status)
Status
- Enabling status. 0: enabled; 1: disabled.public Long getId()
public void setId(Long Id)
Id
- Rule ID. If this parameter is left blank or set to 0, the rule is to be added.public String[] getUuids()
public void setUuids(String[] Uuids)
Uuids
- UUID array of affected hostspublic Long getLevel()
public void setLevel(Long Level)
Level
- Risk Level. 0: None; 1: High-Risk; 2: Medium-Risk; 3: Low-Riskpublic String getAddWhiteType()
public void setAddWhiteType(String AddWhiteType)
AddWhiteType
- Allowlisted processing type
Copyright © 2025. All rights reserved.