public static final class GetImageEventOperationResponseBody.Data.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
GetImageEventOperationResponseBody.Data |
build() |
GetImageEventOperationResponseBody.Data.Builder |
conditions(String conditions)
The rule conditions.
|
GetImageEventOperationResponseBody.Data.Builder |
eventKey(String eventKey)
The keyword of the alert item.
|
GetImageEventOperationResponseBody.Data.Builder |
eventName(String eventName)
The name of the alert item.
|
GetImageEventOperationResponseBody.Data.Builder |
eventType(String eventType)
The alert type.
|
GetImageEventOperationResponseBody.Data.Builder |
id(Long id)
The primary key of the alert handling rule.
|
GetImageEventOperationResponseBody.Data.Builder |
note(String note)
The remarks.
|
GetImageEventOperationResponseBody.Data.Builder |
operationCode(String operationCode)
The operation code.
|
GetImageEventOperationResponseBody.Data.Builder |
scenarios(String scenarios)
The application scope of the rule.
|
GetImageEventOperationResponseBody.Data.Builder |
source(String source)
The source of the whitelist.
|
public GetImageEventOperationResponseBody.Data.Builder conditions(String conditions)
The rule conditions. The value is in the JSON format. Valid values of keys:
[{"condition": "MD5", "type": "equals", "value": "0083a31cc0083a31ccf7c10367a6e783e"}]
public GetImageEventOperationResponseBody.Data.Builder eventKey(String eventKey)
The keyword of the alert item.
example:PEM
public GetImageEventOperationResponseBody.Data.Builder eventName(String eventName)
The name of the alert item.
example:PEM
public GetImageEventOperationResponseBody.Data.Builder eventType(String eventType)
The alert type. Valid values:
sensitiveFile
public GetImageEventOperationResponseBody.Data.Builder id(Long id)
The primary key of the alert handling rule.
example:443496
public GetImageEventOperationResponseBody.Data.Builder note(String note)
The remarks.
example:No warning.
public GetImageEventOperationResponseBody.Data.Builder operationCode(String operationCode)
The operation code. Valid values:
whitelist
public GetImageEventOperationResponseBody.Data.Builder scenarios(String scenarios)
The application scope of the rule. The value is in the JSON format. Valid values of keys:
{"type": "repo", "value": "test-aaa/shenzhen-repo-01"}
public GetImageEventOperationResponseBody.Data.Builder source(String source)
The source of the whitelist. Valid values:
agentless
public GetImageEventOperationResponseBody.Data build()
Copyright © 2026. All rights reserved.