public class BaselinePolicy extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| BaselinePolicy() | 
| BaselinePolicy(BaselinePolicy 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 | getAssetType()Get 资产类型[0:所有专业版旗舰版|1:id|2:ip] | 
| Long | getDetectInterval()Get 检测间隔[1:1天|3:3天|5:5天|7:7天] | 
| String | getDetectTime()Get 检测时间 | 
| Long | getHostCount()Get 关联基线主机数目 | 
| String[] | getHostIds()Get 主机Id | 
| String[] | getHostIps()Get 主机Ip | 
| Long | getIsDefault()Get 是否是系统默认 | 
| Long | getIsEnabled()Get 是否开启[0:未开启|1:开启] | 
| Long | getItemCount()Get 关联基线项数目 | 
| Long | getPolicyId()Get 策略Id | 
| String | getPolicyName()Get 策略名称,长度不超过128英文字符 | 
| Long | getRuleCount()Get 关联基线项数目 | 
| Long[] | getRuleIds()Get 规则Id | 
| void | setAssetType(Long AssetType)Set 资产类型[0:所有专业版旗舰版|1:id|2:ip] | 
| void | setDetectInterval(Long DetectInterval)Set 检测间隔[1:1天|3:3天|5:5天|7:7天] | 
| void | setDetectTime(String DetectTime)Set 检测时间 | 
| void | setHostCount(Long HostCount)Set 关联基线主机数目 | 
| void | setHostIds(String[] HostIds)Set 主机Id | 
| void | setHostIps(String[] HostIps)Set 主机Ip | 
| void | setIsDefault(Long IsDefault)Set 是否是系统默认 | 
| void | setIsEnabled(Long IsEnabled)Set 是否开启[0:未开启|1:开启] | 
| void | setItemCount(Long ItemCount)Set 关联基线项数目 | 
| void | setPolicyId(Long PolicyId)Set 策略Id | 
| void | setPolicyName(String PolicyName)Set 策略名称,长度不超过128英文字符 | 
| void | setRuleCount(Long RuleCount)Set 关联基线项数目 | 
| void | setRuleIds(Long[] RuleIds)Set 规则Id | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic BaselinePolicy()
public BaselinePolicy(BaselinePolicy source)
public String getPolicyName()
public void setPolicyName(String PolicyName)
PolicyName - 策略名称,长度不超过128英文字符public Long getDetectInterval()
public void setDetectInterval(Long DetectInterval)
DetectInterval - 检测间隔[1:1天|3:3天|5:5天|7:7天]public String getDetectTime()
public void setDetectTime(String DetectTime)
DetectTime - 检测时间public Long getIsEnabled()
public void setIsEnabled(Long IsEnabled)
IsEnabled - 是否开启[0:未开启|1:开启]public Long getAssetType()
public void setAssetType(Long AssetType)
AssetType - 资产类型[0:所有专业版旗舰版|1:id|2:ip]public Long getPolicyId()
public void setPolicyId(Long PolicyId)
PolicyId - 策略Idpublic Long getRuleCount()
public void setRuleCount(Long RuleCount)
RuleCount - 关联基线项数目public Long getItemCount()
public void setItemCount(Long ItemCount)
ItemCount - 关联基线项数目public Long getHostCount()
public void setHostCount(Long HostCount)
HostCount - 关联基线主机数目public Long[] getRuleIds()
public void setRuleIds(Long[] RuleIds)
RuleIds - 规则Idpublic String[] getHostIds()
public void setHostIds(String[] HostIds)
HostIds - 主机Idpublic String[] getHostIps()
public void setHostIps(String[] HostIps)
HostIps - 主机Ippublic Long getIsDefault()
public void setIsDefault(Long IsDefault)
IsDefault - 是否是系统默认Copyright © 2025. All rights reserved.