public static final class ListFileProtectRuleResponseBody.FileProtectList.Builder extends Object
public ListFileProtectRuleResponseBody.FileProtectList.Builder action(String action)
The handling method of the rule. Valid values:
pass
public ListFileProtectRuleResponseBody.FileProtectList.Builder alertLevel(String alertLevel)
The severity of alerts. Valid values:
0
public ListFileProtectRuleResponseBody.FileProtectList.Builder effectInstanceCount(Long effectInstanceCount)
The total number of affected assets.
example:12
public ListFileProtectRuleResponseBody.FileProtectList.Builder fileOps(List<String> fileOps)
The operations performed on the files.
public ListFileProtectRuleResponseBody.FileProtectList.Builder filePaths(List<String> filePaths)
The paths to the monitored files. Wildcard characters are supported.
public ListFileProtectRuleResponseBody.FileProtectList.Builder gmtCreate(Long gmtCreate)
The time when the rule was created.
example:1682304179000
public ListFileProtectRuleResponseBody.FileProtectList.Builder gmtModified(Long gmtModified)
The time when the rule was last modified.
example:1682304179000
public ListFileProtectRuleResponseBody.FileProtectList.Builder id(Long id)
The ID of the rule.
example:1412511
public ListFileProtectRuleResponseBody.FileProtectList.Builder platform(String platform)
The type of the operating system. Valid values:
linux
public ListFileProtectRuleResponseBody.FileProtectList.Builder procPaths(List<String> procPaths)
The paths to the monitored processes. Wildcard characters are supported.
public ListFileProtectRuleResponseBody.FileProtectList.Builder ruleName(String ruleName)
The name of the rule.
example:test11
public ListFileProtectRuleResponseBody.FileProtectList.Builder status(Integer status)
The status of the rule. Valid values:
1
public ListFileProtectRuleResponseBody.FileProtectList.Builder switchId(String switchId)
The switch ID of the rule.
example:FILE_PROTECT_RULE_SWITCH_TYPE_1693474122927
public ListFileProtectRuleResponseBody.FileProtectList build()
Copyright © 2026. All rights reserved.