public static final class GenerateOnceTaskResponseBody.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
GenerateOnceTaskResponseBody |
build() |
GenerateOnceTaskResponseBody.Builder |
canCreate(Boolean canCreate)
Indicates whether you can create more scan tasks.
|
GenerateOnceTaskResponseBody.Builder |
collectTime(Long collectTime)
The collection time.
|
GenerateOnceTaskResponseBody.Builder |
finishCount(Integer finishCount)
The number of scan tasks that are complete.
|
GenerateOnceTaskResponseBody.Builder |
lastTask(String lastTask)
The ID of the last scan task.
|
GenerateOnceTaskResponseBody.Builder |
requestId(String requestId)
The ID of the request, which is used to locate and troubleshoot issues.
|
GenerateOnceTaskResponseBody.Builder |
taskId(String taskId)
The ID of the scan task.
|
GenerateOnceTaskResponseBody.Builder |
totalCount(Integer totalCount)
The total number of scan tasks.
|
public GenerateOnceTaskResponseBody.Builder canCreate(Boolean canCreate)
Indicates whether you can create more scan tasks. Valid values:
example:By default, a maximum of 10 scan tasks can be running at the same time. If 10 image scan tasks are running, you cannot create a scan task by calling this operation. You must wait for at least one of the 10 existing scan tasks to complete before you can create a scan task.
true
public GenerateOnceTaskResponseBody.Builder collectTime(Long collectTime)
The collection time.
example:1670307567000
public GenerateOnceTaskResponseBody.Builder finishCount(Integer finishCount)
The number of scan tasks that are complete.
example:61
public GenerateOnceTaskResponseBody.Builder lastTask(String lastTask)
The ID of the last scan task.
example:38730bb078f4a1461d4ed283994c****
public GenerateOnceTaskResponseBody.Builder requestId(String requestId)
The ID of the request, which is used to locate and troubleshoot issues.
example:8BB6B8FA-39E8-5654-A309-8EED13B1****
public GenerateOnceTaskResponseBody.Builder taskId(String taskId)
The ID of the scan task.
example:38730bb078f4a1461d4ed283994c****
public GenerateOnceTaskResponseBody.Builder totalCount(Integer totalCount)
The total number of scan tasks.
example:100
public GenerateOnceTaskResponseBody build()
Copyright © 2026. All rights reserved.