public static final class GetAsyncTaskResponseBody.Data.Builder extends Object
构造器和说明 |
---|
Builder() |
限定符和类型 | 方法和说明 |
---|---|
GetAsyncTaskResponseBody.Data.Builder |
asyncTaskId(String asyncTaskId)
The asynchronous task ID.
|
GetAsyncTaskResponseBody.Data |
build() |
GetAsyncTaskResponseBody.Data.Builder |
consumedProcess(String consumedProcess)
The total number of asynchronous tasks that are processed.
|
GetAsyncTaskResponseBody.Data.Builder |
errCode(Long errCode)
The error code of the asynchronous task.
|
GetAsyncTaskResponseBody.Data.Builder |
message(String message)
The error message of the asynchronous task.
|
GetAsyncTaskResponseBody.Data.Builder |
status(String status)
The task status.
|
GetAsyncTaskResponseBody.Data.Builder |
totalProcess(Long totalProcess)
The total number of asynchronous tasks to be processed, such as the amount of files to be downloaded and packaged on the server.
|
GetAsyncTaskResponseBody.Data.Builder |
url(String url)
The URL to download data generated by the asynchronous task.
|
public GetAsyncTaskResponseBody.Data.Builder asyncTaskId(String asyncTaskId)
public GetAsyncTaskResponseBody.Data.Builder consumedProcess(String consumedProcess)
public GetAsyncTaskResponseBody.Data.Builder errCode(Long errCode)
public GetAsyncTaskResponseBody.Data.Builder message(String message)
public GetAsyncTaskResponseBody.Data.Builder status(String status)
Valid values: * Failed: The task failed. * Running: The task was running. * PartialSucceed: The task did not completely succeed. * Succeed: The task succeeded.
public GetAsyncTaskResponseBody.Data.Builder totalProcess(Long totalProcess)
public GetAsyncTaskResponseBody.Data.Builder url(String url)
public GetAsyncTaskResponseBody.Data build()
Copyright © 2024. All rights reserved.