public static final class AddImageVulWhiteListResponseBody.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
AddImageVulWhiteListResponseBody |
build() |
AddImageVulWhiteListResponseBody.Builder |
code(String code)
The status code returned.
|
AddImageVulWhiteListResponseBody.Builder |
data(Boolean data)
Indicates whether the image vulnerability is added to the whitelist.
|
AddImageVulWhiteListResponseBody.Builder |
httpStatusCode(Integer httpStatusCode)
The HTTP status code returned.
|
AddImageVulWhiteListResponseBody.Builder |
message(String message)
The message returned.
|
AddImageVulWhiteListResponseBody.Builder |
requestId(String requestId)
The request ID.
|
AddImageVulWhiteListResponseBody.Builder |
success(Boolean success)
Indicates whether the request was successful.
|
public AddImageVulWhiteListResponseBody.Builder code(String code)
The status code returned. A value of 200 indicates that the request was successful. Other values indicate that the request failed. You can identify the cause of the failure based on the value of this parameter.
example:200
public AddImageVulWhiteListResponseBody.Builder data(Boolean data)
Indicates whether the image vulnerability is added to the whitelist. Valid values:
true
public AddImageVulWhiteListResponseBody.Builder httpStatusCode(Integer httpStatusCode)
The HTTP status code returned.
example:200
public AddImageVulWhiteListResponseBody.Builder message(String message)
The message returned.
example:successful
public AddImageVulWhiteListResponseBody.Builder requestId(String requestId)
The request ID.
example:F8B6F758-BCD4-597A-8A2C-DA5A552C****
public AddImageVulWhiteListResponseBody.Builder success(Boolean success)
Indicates whether the request was successful. Valid values:
true
public AddImageVulWhiteListResponseBody build()
Copyright © 2026. All rights reserved.