public static final class GetFileProtectRuleResponseBody.Data.Builder extends Object
public GetFileProtectRuleResponseBody.Data.Builder action(String action)
The handling method of the rule. Valid values:
pass
public GetFileProtectRuleResponseBody.Data.Builder alertLevel(Integer alertLevel)
The severity of alerts. Valid values:
0
public GetFileProtectRuleResponseBody.Data.Builder fileOps(List<String> fileOps)
The operations performed on the files.
public GetFileProtectRuleResponseBody.Data.Builder filePaths(List<String> filePaths)
The paths to the monitored files.
public GetFileProtectRuleResponseBody.Data.Builder id(Long id)
The ID of the rule.
example:44616
public GetFileProtectRuleResponseBody.Data.Builder platform(String platform)
The type of the operating system. Valid values:
linux
public GetFileProtectRuleResponseBody.Data.Builder procPaths(List<String> procPaths)
The paths to the monitored processes.
public GetFileProtectRuleResponseBody.Data.Builder ruleName(String ruleName)
The name of the rule.
example:test-000
public GetFileProtectRuleResponseBody.Data.Builder status(Integer status)
The status of the rule. Valid values:
1
public GetFileProtectRuleResponseBody.Data.Builder switchId(String switchId)
The switch ID of the rule.
example:FILE_PROTECT_RULE_SWITCH_TYPE_0000
public GetFileProtectRuleResponseBody.Data build()
Copyright © 2026. All rights reserved.