public class CreateVirusScanTaskRequest extends AbstractModel
Constructor and Description |
---|
CreateVirusScanTaskRequest() |
CreateVirusScanTaskRequest(CreateVirusScanTaskRequest 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[] |
getScanIds()
Get ID of the specified container or server to be scanned, which is based on `ScanRangeType`.
|
String[] |
getScanPath()
Get Specified path to be excluded or scanned
|
Boolean |
getScanPathAll()
Get Whether to 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 `false`.
|
Boolean |
getScanRangeAll()
Get Valid values: `true` (all); `false` (specified).
|
Long |
getScanRangeType()
Get Scanning scope.
|
Long |
getTimeout()
Get Timeout period in hours
|
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 Specified path to be excluded or scanned
|
void |
setScanPathAll(Boolean ScanPathAll)
Set Whether to 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 `false`.
|
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 CreateVirusScanTaskRequest()
public CreateVirusScanTaskRequest(CreateVirusScanTaskRequest source)
public Boolean getScanPathAll()
public void setScanPathAll(Boolean ScanPathAll)
ScanPathAll
- Whether to scan all pathspublic 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 Long getTimeout()
public void setTimeout(Long Timeout)
Timeout
- Timeout period in hourspublic Long getScanPathType()
public void setScanPathType(Long ScanPathType)
ScanPathType
- Valid when `ScanPathAll` is `false`. Valid values: `0` (scan the following paths); `1` (scan all paths except the following).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
- Specified path to be excluded or scannedpublic 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.