public static final class DescribeImageLatestScanTaskResponseBody.Task.Builder extends Object
public DescribeImageLatestScanTaskResponseBody.Task.Builder create(String create)
The time when the task was created. The time is in the yyyy-MM-dd HH:mm:ss format.
example:2022-12-20 11:59:05
public DescribeImageLatestScanTaskResponseBody.Task.Builder finish(Integer finish)
The number of images that are scanned.
example:100
public DescribeImageLatestScanTaskResponseBody.Task.Builder finishTime(Long finishTime)
The end time of the task. A value is returned only when the task is in the Finished state. Otherwise, the returned value is empty.
example:1669693430977
public DescribeImageLatestScanTaskResponseBody.Task.Builder id(Long id)
The task ID.
example:9755662
public DescribeImageLatestScanTaskResponseBody.Task.Builder modified(String modified)
The time when the task was last modified. The time is in the yyyy-MM-dd HH:mm:ss format.
example:2022-12-20 12:00:05
public DescribeImageLatestScanTaskResponseBody.Task.Builder name(String name)
The name of the task.
example:IMAGE_SCAN
public DescribeImageLatestScanTaskResponseBody.Task.Builder source(String source)
The method in which the task was created. A task can be created in the Security Center console or by calling an API operation. Valid values:
console_batch
public DescribeImageLatestScanTaskResponseBody.Task.Builder startTime(Long startTime)
The start time of the task.
example:1668614400000
public DescribeImageLatestScanTaskResponseBody.Task.Builder status(String status)
The status of the task. Valid value:
SUCCESS
public DescribeImageLatestScanTaskResponseBody.Task.Builder target(String target)
The digest value of the image.
example:8f0fbdb41d3d1ade4ffdf21558443f4c03342010563bb8c43ccc09594d50****
public DescribeImageLatestScanTaskResponseBody.Task.Builder targetType(String targetType)
The type of the scanned asset. Valid value:
IMAGE
public DescribeImageLatestScanTaskResponseBody.Task.Builder taskId(String taskId)
The ID of the scan task.
example:0a960b9a48b788a8689154b032bf****
public DescribeImageLatestScanTaskResponseBody.Task.Builder taskType(String taskType)
The type of the task. Valid value:
IMAGE_SCAN
public DescribeImageLatestScanTaskResponseBody.Task build()
Copyright © 2026. All rights reserved.