Class EditBashRuleRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.yunjing.v20180228.models.EditBashRuleRequest
-
public class EditBashRuleRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description EditBashRuleRequest()EditBashRuleRequest(EditBashRuleRequest 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 StringgetHostip()Get 主机IP(IsGlobal为1时,Uuid或Hostip必填一个)LonggetId()Get 规则ID(新增时不填)LonggetIsGlobal()Get 是否全局规则(默认否)LonggetLevel()Get 危险等级(1: 高危 2:中危 3: 低危)StringgetName()Get 规则名称StringgetRule()Get 正则表达式StringgetUuid()Get 客户端ID(IsGlobal为1时,Uuid或Hostip必填一个)voidsetHostip(String Hostip)Set 主机IP(IsGlobal为1时,Uuid或Hostip必填一个)voidsetId(Long Id)Set 规则ID(新增时不填)voidsetIsGlobal(Long IsGlobal)Set 是否全局规则(默认否)voidsetLevel(Long Level)Set 危险等级(1: 高危 2:中危 3: 低危)voidsetName(String Name)Set 规则名称voidsetRule(String Rule)Set 正则表达式voidsetUuid(String Uuid)Set 客户端ID(IsGlobal为1时,Uuid或Hostip必填一个)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
-
EditBashRuleRequest
public EditBashRuleRequest()
-
EditBashRuleRequest
public EditBashRuleRequest(EditBashRuleRequest 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
-
getName
public String getName()
Get 规则名称- Returns:
- Name 规则名称
-
setName
public void setName(String Name)
Set 规则名称- Parameters:
Name- 规则名称
-
getLevel
public Long getLevel()
Get 危险等级(1: 高危 2:中危 3: 低危)- Returns:
- Level 危险等级(1: 高危 2:中危 3: 低危)
-
setLevel
public void setLevel(Long Level)
Set 危险等级(1: 高危 2:中危 3: 低危)- Parameters:
Level- 危险等级(1: 高危 2:中危 3: 低危)
-
getRule
public String getRule()
Get 正则表达式- Returns:
- Rule 正则表达式
-
setRule
public void setRule(String Rule)
Set 正则表达式- Parameters:
Rule- 正则表达式
-
getId
public Long getId()
Get 规则ID(新增时不填)- Returns:
- Id 规则ID(新增时不填)
-
setId
public void setId(Long Id)
Set 规则ID(新增时不填)- Parameters:
Id- 规则ID(新增时不填)
-
getUuid
public String getUuid()
Get 客户端ID(IsGlobal为1时,Uuid或Hostip必填一个)- Returns:
- Uuid 客户端ID(IsGlobal为1时,Uuid或Hostip必填一个)
-
setUuid
public void setUuid(String Uuid)
Set 客户端ID(IsGlobal为1时,Uuid或Hostip必填一个)- Parameters:
Uuid- 客户端ID(IsGlobal为1时,Uuid或Hostip必填一个)
-
getHostip
public String getHostip()
Get 主机IP(IsGlobal为1时,Uuid或Hostip必填一个)- Returns:
- Hostip 主机IP(IsGlobal为1时,Uuid或Hostip必填一个)
-
setHostip
public void setHostip(String Hostip)
Set 主机IP(IsGlobal为1时,Uuid或Hostip必填一个)- Parameters:
Hostip- 主机IP(IsGlobal为1时,Uuid或Hostip必填一个)
-
getIsGlobal
public Long getIsGlobal()
Get 是否全局规则(默认否)- Returns:
- IsGlobal 是否全局规则(默认否)
-
setIsGlobal
public void setIsGlobal(Long IsGlobal)
Set 是否全局规则(默认否)- Parameters:
IsGlobal- 是否全局规则(默认否)
-
-