public static final class OperateImageVulRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
OperateImageVulRequest |
build() |
OperateImageVulRequest.Builder |
info(String info)
The information about the vulnerability.
|
OperateImageVulRequest.Builder |
operateType(String operateType)
If you want to fix the vulnerability, set the value to vul_fix.
|
OperateImageVulRequest.Builder |
type(String type)
The type of the vulnerability.
|
public OperateImageVulRequest.Builder info(String info)
* namespace: the namespace of the image * repoName: the name of the Container Registry repository * regionId: the region ID * instanceId: the ID of the Container Registry instance * repoId: the name of the repository * tag: the tad added to the image * digest: the digest of the image * newTag: the tag added to the image after the vulnerability is fixed * uuid: the UUID of the image * ids: the IDs of the vulnerability primary keys
public OperateImageVulRequest.Builder operateType(String operateType)
public OperateImageVulRequest.Builder type(String type)
public OperateImageVulRequest build()
Copyright © 2023. All rights reserved.