Class BaselineRule
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cwp.v20180228.models.BaselineRule
-
public class BaselineRule extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description BaselineRule()BaselineRule(BaselineRule 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 LonggetAssetType()Get [0:所有专业版旗舰版|1:hostID|2:ip] 注意:此字段可能返回 null,表示取不到有效值。LonggetCategoryId()Get 规则分类LonggetHostCount()Get 主机数String[]getHostIds()Get 主机Id集合 注意:此字段可能返回 null,表示取不到有效值。String[]getHostIps()Get 主机IP 注意:此字段可能返回 null,表示取不到有效值。Item[]getItems()Get 适配项ID列表StringgetRuleDesc()Get 规则描述LonggetRuleId()Get 规则IdStringgetRuleName()Get 规则名称,长度不超过128英文字符LonggetRuleType()Get 规则类型 [0:系统|1:自定义]voidsetAssetType(Long AssetType)Set [0:所有专业版旗舰版|1:hostID|2:ip] 注意:此字段可能返回 null,表示取不到有效值。voidsetCategoryId(Long CategoryId)Set 规则分类voidsetHostCount(Long HostCount)Set 主机数voidsetHostIds(String[] HostIds)Set 主机Id集合 注意:此字段可能返回 null,表示取不到有效值。voidsetHostIps(String[] HostIps)Set 主机IP 注意:此字段可能返回 null,表示取不到有效值。voidsetItems(Item[] Items)Set 适配项ID列表voidsetRuleDesc(String RuleDesc)Set 规则描述voidsetRuleId(Long RuleId)Set 规则IdvoidsetRuleName(String RuleName)Set 规则名称,长度不超过128英文字符voidsetRuleType(Long RuleType)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
-
BaselineRule
public BaselineRule()
-
BaselineRule
public BaselineRule(BaselineRule 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
-
getRuleName
public String getRuleName()
Get 规则名称,长度不超过128英文字符- Returns:
- RuleName 规则名称,长度不超过128英文字符
-
setRuleName
public void setRuleName(String RuleName)
Set 规则名称,长度不超过128英文字符- Parameters:
RuleName- 规则名称,长度不超过128英文字符
-
getRuleId
public Long getRuleId()
Get 规则Id- Returns:
- RuleId 规则Id
-
setRuleId
public void setRuleId(Long RuleId)
Set 规则Id- Parameters:
RuleId- 规则Id
-
getRuleType
public Long getRuleType()
Get 规则类型 [0:系统|1:自定义]- Returns:
- RuleType 规则类型 [0:系统|1:自定义]
-
setRuleType
public void setRuleType(Long RuleType)
Set 规则类型 [0:系统|1:自定义]- Parameters:
RuleType- 规则类型 [0:系统|1:自定义]
-
getCategoryId
public Long getCategoryId()
Get 规则分类- Returns:
- CategoryId 规则分类
-
setCategoryId
public void setCategoryId(Long CategoryId)
Set 规则分类- Parameters:
CategoryId- 规则分类
-
getRuleDesc
public String getRuleDesc()
Get 规则描述- Returns:
- RuleDesc 规则描述
-
setRuleDesc
public void setRuleDesc(String RuleDesc)
Set 规则描述- Parameters:
RuleDesc- 规则描述
-
getHostCount
public Long getHostCount()
Get 主机数- Returns:
- HostCount 主机数
-
setHostCount
public void setHostCount(Long HostCount)
Set 主机数- Parameters:
HostCount- 主机数
-
getItems
public Item[] getItems()
Get 适配项ID列表- Returns:
- Items 适配项ID列表
-
setItems
public void setItems(Item[] Items)
Set 适配项ID列表- Parameters:
Items- 适配项ID列表
-
getAssetType
public Long getAssetType()
Get [0:所有专业版旗舰版|1:hostID|2:ip] 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- AssetType [0:所有专业版旗舰版|1:hostID|2:ip] 注意:此字段可能返回 null,表示取不到有效值。
-
setAssetType
public void setAssetType(Long AssetType)
Set [0:所有专业版旗舰版|1:hostID|2:ip] 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
AssetType- [0:所有专业版旗舰版|1:hostID|2:ip] 注意:此字段可能返回 null,表示取不到有效值。
-
getHostIds
public String[] getHostIds()
Get 主机Id集合 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- HostIds 主机Id集合 注意:此字段可能返回 null,表示取不到有效值。
-
setHostIds
public void setHostIds(String[] HostIds)
Set 主机Id集合 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
HostIds- 主机Id集合 注意:此字段可能返回 null,表示取不到有效值。
-
getHostIps
public String[] getHostIps()
Get 主机IP 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- HostIps 主机IP 注意:此字段可能返回 null,表示取不到有效值。
-
setHostIps
public void setHostIps(String[] HostIps)
Set 主机IP 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
HostIps- 主机IP 注意:此字段可能返回 null,表示取不到有效值。
-
-