public static final class DescribeLatestScanTaskResponseBody.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
DescribeLatestScanTaskResponseBody |
build() |
DescribeLatestScanTaskResponseBody.Builder |
lastCheckTime(Long lastCheckTime)
The timestamp when the last check was performed.
|
DescribeLatestScanTaskResponseBody.Builder |
requestId(String requestId)
The ID of the request, which is used to locate and troubleshoot issues.
|
DescribeLatestScanTaskResponseBody.Builder |
riskNum(Integer riskNum)
The number of virus detection risks on the server.
|
DescribeLatestScanTaskResponseBody.Builder |
targetInfo(String targetInfo)
The applicable scope of the whitelist.
|
DescribeLatestScanTaskResponseBody.Builder |
uuids(List<String> uuids)
The UUIDs of the assets.
|
public DescribeLatestScanTaskResponseBody.Builder lastCheckTime(Long lastCheckTime)
The timestamp when the last check was performed. Unit: milliseconds.
example:1671610264000
public DescribeLatestScanTaskResponseBody.Builder requestId(String requestId)
The ID of the request, which is used to locate and troubleshoot issues.
example:7E0618A9-D5EF-4220-9471-C42XXXXXXXX
public DescribeLatestScanTaskResponseBody.Builder riskNum(Integer riskNum)
The number of virus detection risks on the server.
example:1
public DescribeLatestScanTaskResponseBody.Builder targetInfo(String targetInfo)
The applicable scope of the whitelist. The value of this parameter is in the JSON format and contains the following fields:
type: the type of the applicable scope. Valid values:
uuids: the UUIDs of servers
groupIds: the IDs of server groups
example:If you leave this parameter empty, all servers are added to the whitelist. If you set the type field to GroupId, you must also specify the groupIds field. If you set the type field to Uuid, you must also specify the uuids field.
[{"type":"uuid","name":"Host001","target":"503201a7-14c6-4280-801b-1169ed42****"}]
public DescribeLatestScanTaskResponseBody.Builder uuids(List<String> uuids)
The UUIDs of the assets.
public DescribeLatestScanTaskResponseBody build()
Copyright © 2026. All rights reserved.