public static final class ListVirusScanTaskRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
ListVirusScanTaskRequest |
build() |
ListVirusScanTaskRequest.Builder |
currentPage(Integer currentPage)
The page number.
|
ListVirusScanTaskRequest.Builder |
endTime(Long endTime)
The timestamp when the virus scan task ended.
|
ListVirusScanTaskRequest.Builder |
internetIp(String internetIp)
The public IP address of the server.
|
ListVirusScanTaskRequest.Builder |
intranetIp(String intranetIp)
The private IP address of the server.
|
ListVirusScanTaskRequest.Builder |
lang(String lang)
The language of the content within the request and response.
|
ListVirusScanTaskRequest.Builder |
machineName(String machineName)
The name of the server.
|
ListVirusScanTaskRequest.Builder |
pageSize(Integer pageSize)
The number of entries per page.
|
ListVirusScanTaskRequest.Builder |
rootTask(Boolean rootTask)
Specifies whether the virus scan task is the root task.
|
ListVirusScanTaskRequest.Builder |
rootTaskId(String rootTaskId)
The ID of the root task.
|
ListVirusScanTaskRequest.Builder |
scanType(String scanType)
The type of the virus scan task.
|
ListVirusScanTaskRequest.Builder |
startTime(Long startTime)
The timestamp when the virus scan task started.
|
ListVirusScanTaskRequest.Builder |
status(Integer status)
The status of the virus scan task.
|
ListVirusScanTaskRequest.Builder |
statusList(List<Integer> statusList)
The statuses of virus scan tasks.
|
ListVirusScanTaskRequest.Builder |
taskId(String taskId)
The ID of the virus scan task.
|
public ListVirusScanTaskRequest.Builder currentPage(Integer currentPage)
The page number. Default value: 1.
example:1
public ListVirusScanTaskRequest.Builder endTime(Long endTime)
The timestamp when the virus scan task ended. Unit: milliseconds.
example:1680919232999
public ListVirusScanTaskRequest.Builder internetIp(String internetIp)
The public IP address of the server.
example:120.27.XX.XX
public ListVirusScanTaskRequest.Builder intranetIp(String intranetIp)
The private IP address of the server.
example:172.26.XX.XX
public ListVirusScanTaskRequest.Builder lang(String lang)
The language of the content within the request and response. Default value: zh. Valid values:
zh
public ListVirusScanTaskRequest.Builder machineName(String machineName)
The name of the server.
example:oracle-win-001****
public ListVirusScanTaskRequest.Builder pageSize(Integer pageSize)
The number of entries per page. Default value: 20.
example:20
public ListVirusScanTaskRequest.Builder rootTask(Boolean rootTask)
Specifies whether the virus scan task is the root task.
example:true
public ListVirusScanTaskRequest.Builder rootTaskId(String rootTaskId)
The ID of the root task.
example:You can call the GetVirusScanLatestTaskStatistic operation to query the ID.
89f5d7813bd59dd237580a8664b3xxxx
public ListVirusScanTaskRequest.Builder scanType(String scanType)
The type of the virus scan task. Valid values:
user
public ListVirusScanTaskRequest.Builder startTime(Long startTime)
The timestamp when the virus scan task started. Unit: milliseconds.
example:1680919232000
public ListVirusScanTaskRequest.Builder status(Integer status)
The status of the virus scan task. Valid values:
1
public ListVirusScanTaskRequest.Builder statusList(List<Integer> statusList)
The statuses of virus scan tasks.
public ListVirusScanTaskRequest.Builder taskId(String taskId)
The ID of the virus scan task.
example:You can call the ListVirusScanTask operation to query the ID.
1471d8ebb96795b41ede090b9758****
public ListVirusScanTaskRequest build()
Copyright © 2026. All rights reserved.