public static final class GetLastOnceTaskInfoResponseBody.TaskInfo.Builder extends Object
构造器和说明 |
---|
Builder() |
限定符和类型 | 方法和说明 |
---|---|
GetLastOnceTaskInfoResponseBody.TaskInfo |
build() |
GetLastOnceTaskInfoResponseBody.TaskInfo.Builder |
progress(Integer progress)
The progress of the task in percentage.
|
GetLastOnceTaskInfoResponseBody.TaskInfo.Builder |
result(String result)
The result of the scan task.
|
GetLastOnceTaskInfoResponseBody.TaskInfo.Builder |
status(String status)
The status of the task.
|
public GetLastOnceTaskInfoResponseBody.TaskInfo.Builder progress(Integer progress)
public GetLastOnceTaskInfoResponseBody.TaskInfo.Builder result(String result)
* **SUCCESS**: The task is successful. * **TASK\_NOT\_SUPPORT_REGION**: The images are deployed in a region that is not supported by container image scan. * **TASK\_NOT_EXISTS**: The task does not exist.
public GetLastOnceTaskInfoResponseBody.TaskInfo.Builder status(String status)
* **INIT**: The task is not started. * **START**: The task is started. * **SUCCESS**: The task is complete. * **TIMEOUT**: The task timed out.
public GetLastOnceTaskInfoResponseBody.TaskInfo build()
Copyright © 2023. All rights reserved.