public static final class AddClientUserDefineRuleRequest.Builder extends Object
public AddClientUserDefineRuleRequest.Builder actionType(Integer actionType)
The action of the custom defense rule. Valid values:
This parameter is required.
example:1
public AddClientUserDefineRuleRequest.Builder cmdline(String cmdline)
The command line.
example:/usr/sbin/s****
public AddClientUserDefineRuleRequest.Builder domain(String domain)
The domain name.
example:example.com
public AddClientUserDefineRuleRequest.Builder filePath(String filePath)
The file path.
example:/etc/pam****
public AddClientUserDefineRuleRequest.Builder ip(String ip)
The IP address.
example:10.240.XX.XX
public AddClientUserDefineRuleRequest.Builder md5List(String md5List)
The hash values of processes.
example:0c9045b5bec90f9825f1f3f64dd4****
public AddClientUserDefineRuleRequest.Builder name(String name)
The name of the custom defense rule.
This parameter is required.
example:Rule 1
public AddClientUserDefineRuleRequest.Builder newFilePath(String newFilePath)
The new file path after the file is renamed.
example:/etc/pam****
public AddClientUserDefineRuleRequest.Builder parentCmdline(String parentCmdline)
The parent command line.
example:/usr/sbin/s****
public AddClientUserDefineRuleRequest.Builder parentProcPath(String parentProcPath)
The path to the parent process.
example:c:/windows/system32/i****
public AddClientUserDefineRuleRequest.Builder platform(String platform)
The type of the operating system. Valid values:
linux
public AddClientUserDefineRuleRequest.Builder port(Integer port)
The port number. This parameter is deprecated.
example:22
public AddClientUserDefineRuleRequest.Builder portStr(String portStr)
The port number. Valid values: 1 to 65535.
example:80
public AddClientUserDefineRuleRequest.Builder procPath(String procPath)
The path to the process.
example:c:/windows/system32/i****
public AddClientUserDefineRuleRequest.Builder registryContent(String registryContent)
The registry value.
example:SECOH-QAD.exe
public AddClientUserDefineRuleRequest.Builder registryKey(String registryKey)
The registry key.
example:HKEY_DYN_****
public AddClientUserDefineRuleRequest.Builder type(Integer type)
The type of the custom defense rule. Valid values:
This parameter is required.
example:1
public AddClientUserDefineRuleRequest build()
Copyright © 2026. All rights reserved.