public static final class StartVirusScanTaskRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
StartVirusScanTaskRequest |
build() |
StartVirusScanTaskRequest.Builder |
targetInfo(String targetInfo)
The asset on which you want to perform a virus scan task.
|
public StartVirusScanTaskRequest.Builder targetInfo(String targetInfo)
The asset on which you want to perform a virus scan task. You can select servers or server groups to scan for viruses. The value is a string that consists of JSON arrays. Each element in a JSON array is a JSON struct that contains the following fields:
type: the type of the asset on which you want to perform a virus scan task. Valid values:
name: the name of the server or server group.
target: the asset on which you want to perform a virus scan task. Valid values:
This parameter is required.
example:[{"type":"uuid","name":"Host001","target":"503201a7-14c6-4280-801b-1169ed42****"}]
public StartVirusScanTaskRequest build()
Copyright © 2026. All rights reserved.