public static final class CreateAsyncTaskRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
CreateAsyncTaskRequest |
build() |
CreateAsyncTaskRequest.Builder |
regionId(String regionId)
RegionId.
|
CreateAsyncTaskRequest.Builder |
resourceGroupId(String resourceGroupId)
The ID of the resource group to which the instance belongs in Resource Management.
|
CreateAsyncTaskRequest.Builder |
taskParams(String taskParams)
The details of the asynchronous export task.
|
CreateAsyncTaskRequest.Builder |
taskType(Integer taskType)
The type of the asynchronous export task that you want to create.
|
public CreateAsyncTaskRequest.Builder regionId(String regionId)
public CreateAsyncTaskRequest.Builder resourceGroupId(String resourceGroupId)
The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.
example:default
public CreateAsyncTaskRequest.Builder taskParams(String taskParams)
The details of the asynchronous export task. The value is a JSON string. The field in the value varies with TaskType.
If TaskType is set to 1, 3, 4, 5, or 6, the following filed is returned:
If TaskType is set to 2, the following field is returned:
This parameter is required.
example:{"instanceId": "ddoscoo-cn-mp91j1ao****"}
public CreateAsyncTaskRequest.Builder taskType(Integer taskType)
The type of the asynchronous export task that you want to create. Valid values:
This parameter is required.
example:5
public CreateAsyncTaskRequest build()
Copyright © 2026. All rights reserved.