public static final class UpdateFileProtectRuleRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
UpdateFileProtectRuleRequest.Builder |
alertLevel(Integer alertLevel)
The severity of alerts.
|
UpdateFileProtectRuleRequest |
build() |
UpdateFileProtectRuleRequest.Builder |
fileOps(List<String> fileOps)
The operations that you want to perform on the files.
|
UpdateFileProtectRuleRequest.Builder |
filePaths(List<String> filePaths)
The paths to the monitored files.
|
UpdateFileProtectRuleRequest.Builder |
id(Long id)
The ID of the rule.
|
UpdateFileProtectRuleRequest.Builder |
procPaths(List<String> procPaths)
The paths to the monitored processes.
|
UpdateFileProtectRuleRequest.Builder |
ruleAction(String ruleAction)
The handling method of the rule.
|
UpdateFileProtectRuleRequest.Builder |
ruleName(String ruleName)
The name of the rule.
|
UpdateFileProtectRuleRequest.Builder |
status(Integer status)
The status of the rule.
|
public UpdateFileProtectRuleRequest.Builder alertLevel(Integer alertLevel)
The severity of alerts. Valid values:
0
public UpdateFileProtectRuleRequest.Builder fileOps(List<String> fileOps)
The operations that you want to perform on the files.
This parameter is required.
public UpdateFileProtectRuleRequest.Builder filePaths(List<String> filePaths)
The paths to the monitored files. Wildcard characters are supported.
This parameter is required.
public UpdateFileProtectRuleRequest.Builder id(Long id)
The ID of the rule.
example:1062
public UpdateFileProtectRuleRequest.Builder procPaths(List<String> procPaths)
The paths to the monitored processes.
This parameter is required.
public UpdateFileProtectRuleRequest.Builder ruleAction(String ruleAction)
The handling method of the rule. Valid values:
pass
public UpdateFileProtectRuleRequest.Builder ruleName(String ruleName)
The name of the rule.
This parameter is required.
example:test-rule-1
public UpdateFileProtectRuleRequest.Builder status(Integer status)
The status of the rule. Valid values:
1
public UpdateFileProtectRuleRequest build()
Copyright © 2026. All rights reserved.