public class CreateAsyncTaskRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
resourceGroupId
The ID of the resource group to which the instance belongs in Resource Management.
|
String |
taskParams
The details of the asynchronous export task.
|
Integer |
taskType
The type of the asynchronous export task that you want to create.
|
| 构造器和说明 |
|---|
CreateAsyncTaskRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static CreateAsyncTaskRequest |
build(Map<String,?> map) |
String |
getResourceGroupId() |
String |
getTaskParams() |
Integer |
getTaskType() |
CreateAsyncTaskRequest |
setResourceGroupId(String resourceGroupId) |
CreateAsyncTaskRequest |
setTaskParams(String taskParams) |
CreateAsyncTaskRequest |
setTaskType(Integer taskType) |
@NameInMap(value="ResourceGroupId") public 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
@NameInMap(value="TaskParams") public 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****"}
@NameInMap(value="TaskType") public Integer taskType
The type of the asynchronous export task that you want to create. Valid values:
This parameter is required.
example:5
public static CreateAsyncTaskRequest build(Map<String,?> map) throws Exception
Exceptionpublic CreateAsyncTaskRequest setResourceGroupId(String resourceGroupId)
public String getResourceGroupId()
public CreateAsyncTaskRequest setTaskParams(String taskParams)
public String getTaskParams()
public CreateAsyncTaskRequest setTaskType(Integer taskType)
public Integer getTaskType()
Copyright © 2026. All rights reserved.