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)
* **type**: the type of the asset on which you want to perform a virus scan task. Valid values: * **groupId**: server group. * **uuid**: server. * **name**: the name of the server or server group. * **target**: the asset on which you want to perform a virus scan task. Valid values: * If you set **type** to **groupId**, you must set this field to the ID of the server group. You can call the [DescribeAllGroups](~~DescribeAllGroups~~) operation to query the IDs of server groups. * If you set **type** to **uuid**, you must set this field to the UUID of the server. You can call the [DescribeCloudCenterInstances](~~DescribeCloudCenterInstances~~) operation to query the UUIDs of servers.
public StartVirusScanTaskRequest build()
Copyright © 2023. All rights reserved.