public static final class PublicCreateImageScanTaskResponseBody.Data.Builder extends Object
构造器和说明 |
---|
Builder() |
public PublicCreateImageScanTaskResponseBody.Data.Builder canCreate(Boolean canCreate)
* **true**: yes * **false**: no > By default, a maximum of 10 image scan tasks can be running at the same time. If 10 image scan tasks are running, you cannot create an image scan task by calling this operation. You must wait for at least one of the 10 existing image scan tasks to complete before you can create an image scan task.
public PublicCreateImageScanTaskResponseBody.Data.Builder collectTime(Long collectTime)
public PublicCreateImageScanTaskResponseBody.Data.Builder execTime(Long execTime)
public PublicCreateImageScanTaskResponseBody.Data.Builder finishCount(Integer finishCount)
public PublicCreateImageScanTaskResponseBody.Data.Builder progress(Integer progress)
public PublicCreateImageScanTaskResponseBody.Data.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. > For more information about the regions supported by container image scan, see the "Regions supported by container image scan" section in this topic.
public PublicCreateImageScanTaskResponseBody.Data.Builder status(String status)
* **INIT**: The task is being initialized. * **PRE_ANALYZER**: The task is being pre-processed. * **SUCCESS**: The task is successful. * **FAIL**: The task fails.
public PublicCreateImageScanTaskResponseBody.Data.Builder taskId(String taskId)
public PublicCreateImageScanTaskResponseBody.Data.Builder totalCount(Integer totalCount)
public PublicCreateImageScanTaskResponseBody.Data build()
Copyright © 2023. All rights reserved.