public static final class UpdateImageVulWhitelistTargetRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
UpdateImageVulWhitelistTargetRequest |
build() |
UpdateImageVulWhitelistTargetRequest.Builder |
id(Long id)
The whitelist ID.
|
UpdateImageVulWhitelistTargetRequest.Builder |
lang(String lang)
The language of the content within the request and response.
|
UpdateImageVulWhitelistTargetRequest.Builder |
reason(String reason)
The reason why you add the vulnerability to the whitelist.
|
UpdateImageVulWhitelistTargetRequest.Builder |
source(String source)
The source of the whitelist.
|
UpdateImageVulWhitelistTargetRequest.Builder |
target(String target)
The vulnerability that you want to add to the whitelist.
|
public UpdateImageVulWhitelistTargetRequest.Builder id(Long id)
The whitelist ID.
example:2000083
public UpdateImageVulWhitelistTargetRequest.Builder lang(String lang)
The language of the content within the request and response. Default value: zh. Valid values:
zh
public UpdateImageVulWhitelistTargetRequest.Builder reason(String reason)
The reason why you add the vulnerability to the whitelist.
example:ignore
public UpdateImageVulWhitelistTargetRequest.Builder source(String source)
The source of the whitelist. Valid values:
image
public UpdateImageVulWhitelistTargetRequest.Builder target(String target)
The vulnerability that you want to add to the whitelist. The value of this parameter is in the JSON format and contains the following fields:
{"type":"repo","target":["sas_test/script_0209","sas_test/script"]}
public UpdateImageVulWhitelistTargetRequest build()
Copyright © 2026. All rights reserved.