public static final class CreateDownloadTaskResponseBody.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
CreateDownloadTaskResponseBody |
build() |
CreateDownloadTaskResponseBody.Builder |
requestId(String requestId)
The ID of the request.
|
CreateDownloadTaskResponseBody.Builder |
status(String status)
The status of the task.
|
CreateDownloadTaskResponseBody.Builder |
taskId(Long taskId)
The unique ID of the task.
|
CreateDownloadTaskResponseBody.Builder |
taskName(String taskName)
The name of the file download task.
|
public CreateDownloadTaskResponseBody.Builder requestId(String requestId)
The ID of the request.
example:E7F333E0-7B70-54DA-A307-4B2B49DEE923
public CreateDownloadTaskResponseBody.Builder status(String status)
The status of the task. Valid values:
finish: The task finished. You can query the task to obtain the download link of the file.
start: The task start.
error: An error occurred.
expire: The task file is invalid and cannot be downloaded.
example:start
public CreateDownloadTaskResponseBody.Builder taskId(Long taskId)
The unique ID of the task.
example:132
public CreateDownloadTaskResponseBody.Builder taskName(String taskName)
The name of the file download task.
example:Internet Boundary Firewall Assets - IPv4
public CreateDownloadTaskResponseBody build()
Copyright © 2026. All rights reserved.