public static final class DescribeAsyncTasksResponseBody.AsyncTasks.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
DescribeAsyncTasksResponseBody.AsyncTasks |
build() |
DescribeAsyncTasksResponseBody.AsyncTasks.Builder |
endTime(Long endTime)
The end time of the task.
|
DescribeAsyncTasksResponseBody.AsyncTasks.Builder |
startTime(Long startTime)
The start time of the task.
|
DescribeAsyncTasksResponseBody.AsyncTasks.Builder |
taskId(Long taskId)
The ID of the job.
|
DescribeAsyncTasksResponseBody.AsyncTasks.Builder |
taskParams(String taskParams)
The task parameter.
|
DescribeAsyncTasksResponseBody.AsyncTasks.Builder |
taskResult(String taskResult)
The execution result of the task.
|
DescribeAsyncTasksResponseBody.AsyncTasks.Builder |
taskStatus(Integer taskStatus)
The status of the task.
|
DescribeAsyncTasksResponseBody.AsyncTasks.Builder |
taskType(Integer taskType)
The type of the task.
|
public DescribeAsyncTasksResponseBody.AsyncTasks.Builder endTime(Long endTime)
The end time of the task. This value is a UNIX timestamp. Unit: milliseconds.
example:157927362000
public DescribeAsyncTasksResponseBody.AsyncTasks.Builder startTime(Long startTime)
The start time of the task. The value is a UNIX timestamp. Unit: milliseconds.
example:156927362000
public DescribeAsyncTasksResponseBody.AsyncTasks.Builder taskId(Long taskId)
The ID of the job.
example:1
public DescribeAsyncTasksResponseBody.AsyncTasks.Builder taskParams(String taskParams)
The task parameter. The value is a JSON string. The returned field in the value varies based on the value of 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:
{"instanceId": "ddoscoo-cn-mp91j1ao****"}
public DescribeAsyncTasksResponseBody.AsyncTasks.Builder taskResult(String taskResult)
The execution result of the task. The value is a JSON string. The returned fields in the value vary based on the value of TaskType.
If TaskType is set to 1, 3, 4, 5, or 6, the following fields are returned:
If TaskType is set to 2, the following fields are returned:
{"instanceId": "ddoscoo-cn-mp91j1ao****","url": "https://.oss-cn-beijing.aliyuncs.com/heap.bin?Expires=1584785140&OSSAccessKeyId=TMP.3KfzD82FyRJevJdEkRX6JEFHhbvRBBb75PZJnyJmksA2QkMm47xFAFDgMhEV8Nm6Vxr8xExMfiy9LsUFAcLcTBrN3r&Signature=Sj8BNcsxJLE8l5qm4cjNlDt8gv****"}
public DescribeAsyncTasksResponseBody.AsyncTasks.Builder taskStatus(Integer taskStatus)
The status of the task. Valid values:
2
public DescribeAsyncTasksResponseBody.AsyncTasks.Builder taskType(Integer taskType)
The type of the task. Valid values:
5
public DescribeAsyncTasksResponseBody.AsyncTasks build()
Copyright © 2026. All rights reserved.