public static final class PublicCreateImageScanTaskResponseBody.Data.Builder extends Object
public PublicCreateImageScanTaskResponseBody.Data.Builder canCreate(Boolean canCreate)
Indicates whether you can create more image scan tasks. Valid values:
example: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.
true
public PublicCreateImageScanTaskResponseBody.Data.Builder collectTime(Long collectTime)
The timestamp when the image information was collected. Unit: milliseconds.
example:1644286364150
public PublicCreateImageScanTaskResponseBody.Data.Builder execTime(Long execTime)
The timestamp when the image scan task started to run. Unit: milliseconds.
example:1644286364150
public PublicCreateImageScanTaskResponseBody.Data.Builder finishCount(Integer finishCount)
The number of images that have been scanned.
example:5
public PublicCreateImageScanTaskResponseBody.Data.Builder progress(Integer progress)
The progress of the image scan task in percentage.
example:100
public PublicCreateImageScanTaskResponseBody.Data.Builder result(String result)
The result of the image scan task. Valid values:
example:For more information about the regions supported by container image scan, see the "Regions supported by container image scan" section in this topic.
SUCCESS
public PublicCreateImageScanTaskResponseBody.Data.Builder status(String status)
The status of the image scan task. Valid values:
SUCCESS
public PublicCreateImageScanTaskResponseBody.Data.Builder taskId(String taskId)
The ID of the image scan task.
example:a410bb3e68c217a3368bc0238c66886d
public PublicCreateImageScanTaskResponseBody.Data.Builder totalCount(Integer totalCount)
The total number of images to scan.
example:5
public PublicCreateImageScanTaskResponseBody.Data build()
Copyright © 2026. All rights reserved.