public static final class UpdateImageEventOperationRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
UpdateImageEventOperationRequest |
build() |
UpdateImageEventOperationRequest.Builder |
conditions(String conditions)
The rule conditions.
|
UpdateImageEventOperationRequest.Builder |
id(Long id)
The ID of the alert handling rule.
|
UpdateImageEventOperationRequest.Builder |
note(String note)
The remarks that you want to add.
|
UpdateImageEventOperationRequest.Builder |
scenarios(String scenarios)
The application scope of the rule.
|
UpdateImageEventOperationRequest.Builder |
source(String source)
The source of the whitelist.
|
public UpdateImageEventOperationRequest.Builder conditions(String conditions)
The rule conditions. Specify a value in the JSON format. You can specify the following keys:
[{"condition": "MD5", "type": "equals", "value": "0083a31cc0083a31ccf7c10367a6e****"}]
public UpdateImageEventOperationRequest.Builder id(Long id)
The ID of the alert handling rule.
example:You can call the DescribeImageEventOperationPage operation to query the ID.
814163
public UpdateImageEventOperationRequest.Builder note(String note)
The remarks that you want to add.
example:test
public UpdateImageEventOperationRequest.Builder scenarios(String scenarios)
The application scope of the rule. The value is in the JSON format. Valid values:
{"type": "repo", "value": "test-aaa/shenzhen-repo-01"}
public UpdateImageEventOperationRequest.Builder source(String source)
The source of the whitelist. Valid values:
agentless
public UpdateImageEventOperationRequest build()
Copyright © 2026. All rights reserved.