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 Asset type [0: all Professional and Ultimate editions|1: ID | 2: IP]
|
Long |
getDetectInterval()
Get Detection interval [1: 1 day|3: 3 days|5: 5 days|7: 7 days]
|
String |
getDetectTime()
Get Detection time
|
Long |
getHostCount()
Get Number of associated baseline hosts
|
String[] |
getHostIds()
Get Host ID
|
String[] |
getHostIps()
Get Host IP
|
Long |
getIsDefault()
Get Whether the system default
|
Long |
getIsEnabled()
Get Whether enabled [0: not enabled|1: enabled]
|
Long |
getItemCount()
Get Number of associated baseline items
|
Long |
getPolicyId()
Get Policy ID
|
String |
getPolicyName()
Get Policy name, which is no more than 128 English characters in length.
|
Long |
getRuleCount()
Get Number of associated baseline items
|
Long[] |
getRuleIds()
Get Rule ID
|
void |
setAssetType(Long AssetType)
Set Asset type [0: all Professional and Ultimate editions|1: ID | 2: IP]
|
void |
setDetectInterval(Long DetectInterval)
Set Detection interval [1: 1 day|3: 3 days|5: 5 days|7: 7 days]
|
void |
setDetectTime(String DetectTime)
Set Detection time
|
void |
setHostCount(Long HostCount)
Set Number of associated baseline hosts
|
void |
setHostIds(String[] HostIds)
Set Host ID
|
void |
setHostIps(String[] HostIps)
Set Host IP
|
void |
setIsDefault(Long IsDefault)
Set Whether the system default
|
void |
setIsEnabled(Long IsEnabled)
Set Whether enabled [0: not enabled|1: enabled]
|
void |
setItemCount(Long ItemCount)
Set Number of associated baseline items
|
void |
setPolicyId(Long PolicyId)
Set Policy ID
|
void |
setPolicyName(String PolicyName)
Set Policy name, which is no more than 128 English characters in length.
|
void |
setRuleCount(Long RuleCount)
Set Number of associated baseline items
|
void |
setRuleIds(Long[] RuleIds)
Set Rule ID
|
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 BaselinePolicy()
public BaselinePolicy(BaselinePolicy source)
public String getPolicyName()
public void setPolicyName(String PolicyName)
PolicyName
- Policy name, which is no more than 128 English characters in length.public Long getDetectInterval()
public void setDetectInterval(Long DetectInterval)
DetectInterval
- Detection interval [1: 1 day|3: 3 days|5: 5 days|7: 7 days]public String getDetectTime()
public void setDetectTime(String DetectTime)
DetectTime
- Detection timepublic Long getIsEnabled()
public void setIsEnabled(Long IsEnabled)
IsEnabled
- Whether enabled [0: not enabled|1: enabled]public Long getAssetType()
public void setAssetType(Long AssetType)
AssetType
- Asset type [0: all Professional and Ultimate editions|1: ID | 2: IP]public Long getPolicyId()
public void setPolicyId(Long PolicyId)
PolicyId
- Policy IDpublic Long getRuleCount()
public void setRuleCount(Long RuleCount)
RuleCount
- Number of associated baseline itemspublic Long getItemCount()
public void setItemCount(Long ItemCount)
ItemCount
- Number of associated baseline itemspublic Long getHostCount()
public void setHostCount(Long HostCount)
HostCount
- Number of associated baseline hostspublic Long[] getRuleIds()
public void setRuleIds(Long[] RuleIds)
RuleIds
- Rule IDpublic String[] getHostIds()
public void setHostIds(String[] HostIds)
HostIds
- Host IDpublic String[] getHostIps()
public void setHostIps(String[] HostIps)
HostIps
- Host IPpublic Long getIsDefault()
public void setIsDefault(Long IsDefault)
IsDefault
- Whether the system defaultCopyright © 2024. All rights reserved.