public class ModifyVirusScanSettingRequest extends AbstractModel
Constructor and Description |
---|
ModifyVirusScanSettingRequest() |
ModifyVirusScanSettingRequest(ModifyVirusScanSettingRequest 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 |
getBeginScanAt()
Get Scan start time
|
Long |
getCycle()
Get Check cycle in days.
|
Boolean |
getEnableScan()
Get Whether to enable scheduled scan
|
String[] |
getScanIds()
Get ID of the specified container or server to be scanned, which is based on `ScanRangeType`.
|
String[] |
getScanPath()
Get Scanned path
|
Boolean |
getScanPathAll()
Get Scan all paths.
|
String |
getScanPathMode()
Get Path scanning mode:
`SCAN_PATH_ALL`: Scan all paths
`SCAN_PATH_DEFAULT`: Scan the default path
`SCAN_PATH_USER_DEFINE`: Scan the custom path
|
Long |
getScanPathType()
Get Valid when `ScanPathAll` is `true`.
|
Boolean |
getScanRangeAll()
Get Valid values: `true` (all); `false` (specified).
|
Long |
getScanRangeType()
Get Scanning scope.
|
Long |
getTimeout()
Get Timeout period in hours.
|
void |
setBeginScanAt(String BeginScanAt)
Set Scan start time
|
void |
setCycle(Long Cycle)
Set Check cycle in days.
|
void |
setEnableScan(Boolean EnableScan)
Set Whether to enable scheduled scan
|
void |
setScanIds(String[] ScanIds)
Set ID of the specified container or server to be scanned, which is based on `ScanRangeType`.
|
void |
setScanPath(String[] ScanPath)
Set Scanned path
|
void |
setScanPathAll(Boolean ScanPathAll)
Set Scan all paths.
|
void |
setScanPathMode(String ScanPathMode)
Set Path scanning mode:
`SCAN_PATH_ALL`: Scan all paths
`SCAN_PATH_DEFAULT`: Scan the default path
`SCAN_PATH_USER_DEFINE`: Scan the custom path
|
void |
setScanPathType(Long ScanPathType)
Set Valid when `ScanPathAll` is `true`.
|
void |
setScanRangeAll(Boolean ScanRangeAll)
Set Valid values: `true` (all); `false` (specified).
|
void |
setScanRangeType(Long ScanRangeType)
Set Scanning scope.
|
void |
setTimeout(Long Timeout)
Set Timeout period in hours.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public ModifyVirusScanSettingRequest()
public ModifyVirusScanSettingRequest(ModifyVirusScanSettingRequest source)
public Boolean getEnableScan()
public void setEnableScan(Boolean EnableScan)
EnableScan
- Whether to enable scheduled scanpublic Long getCycle()
public void setCycle(Long Cycle)
Cycle
- Check cycle in days. Valid values: `1`, `3`, `7`.public String getBeginScanAt()
public void setBeginScanAt(String BeginScanAt)
BeginScanAt
- Scan start timepublic Boolean getScanPathAll()
public void setScanPathAll(Boolean ScanPathAll)
ScanPathAll
- Scan all paths. Valid values: `true` (all); `false` (specified).public Long getScanPathType()
public void setScanPathType(Long ScanPathType)
ScanPathType
- Valid when `ScanPathAll` is `true`. Valid values of `ScanPathAll`: `0` (scan the following paths); `1` (scan all paths except the following).public Long getTimeout()
public void setTimeout(Long Timeout)
Timeout
- Timeout period in hours. Value range: 5-24.public Long getScanRangeType()
public void setScanRangeType(Long ScanRangeType)
ScanRangeType
- Scanning scope. Valid values: `0` (container); `1` (server).public Boolean getScanRangeAll()
public void setScanRangeAll(Boolean ScanRangeAll)
ScanRangeAll
- Valid values: `true` (all); `false` (specified).public String[] getScanIds()
public void setScanIds(String[] ScanIds)
ScanIds
- ID of the specified container or server to be scanned, which is based on `ScanRangeType`.public String[] getScanPath()
public void setScanPath(String[] ScanPath)
ScanPath
- Scanned pathpublic String getScanPathMode()
public void setScanPathMode(String ScanPathMode)
ScanPathMode
- Path scanning mode:
`SCAN_PATH_ALL`: Scan all paths
`SCAN_PATH_DEFAULT`: Scan the default path
`SCAN_PATH_USER_DEFINE`: Scan the custom pathCopyright © 2023. All rights reserved.