public static final class ModifyWebLockStartRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
ModifyWebLockStartRequest |
build() |
ModifyWebLockStartRequest.Builder |
defenceMode(String defenceMode)
The prevention mode.
|
ModifyWebLockStartRequest.Builder |
dir(String dir)
The directory for which you want to enable web tamper proofing.
|
ModifyWebLockStartRequest.Builder |
exclusiveDir(String exclusiveDir)
The directory for which you want to disable web tamper proofing.
|
ModifyWebLockStartRequest.Builder |
exclusiveFile(String exclusiveFile)
The file for which you want to disable web tamper proofing.
|
ModifyWebLockStartRequest.Builder |
exclusiveFileType(String exclusiveFileType)
The type of the file for which you want to disable web tamper proofing.
|
ModifyWebLockStartRequest.Builder |
inclusiveFileType(String inclusiveFileType)
The type of the file for which you want to enable web tamper proofing.
|
ModifyWebLockStartRequest.Builder |
localBackupDir(String localBackupDir)
The local path to the backup files of the protected directory.\
The directory format of a Linux server is different from that of a Windows server.
|
ModifyWebLockStartRequest.Builder |
mode(String mode)
The protection mode of web tamper proofing.
|
ModifyWebLockStartRequest.Builder |
uuid(String uuid)
The UUID of the server for which you want to enable web tamper proofing.
|
public ModifyWebLockStartRequest.Builder defenceMode(String defenceMode)
* **block**: Interception Mode * **audit**: Alert Mode
public ModifyWebLockStartRequest.Builder dir(String dir)
public ModifyWebLockStartRequest.Builder exclusiveDir(String exclusiveDir)
> If you set **Mode** to **blacklist**, you must specify this parameter.
public ModifyWebLockStartRequest.Builder exclusiveFile(String exclusiveFile)
> If you set **Mode** to **blacklist**, you must specify this parameter.
public ModifyWebLockStartRequest.Builder exclusiveFileType(String exclusiveFileType)
* php * jsp * asp * aspx * js * cgi * html * htm * xml * shtml * shtm * jpg * gif * png > If you set **Mode** to **blacklist**, you must specify this parameter.
public ModifyWebLockStartRequest.Builder inclusiveFileType(String inclusiveFileType)
* php * jsp * asp * aspx * js * cgi * html * htm * xml * shtml * shtm * jpg * gif * png > If you set **Mode** to **whitelist**, you must specify this parameter.
public ModifyWebLockStartRequest.Builder localBackupDir(String localBackupDir)
The directory format of a Linux server is different from that of a Windows server. You must enter the directory in the required format based on your operating system. Examples: * Linux server: /usr/local/aegis/bak * Windows server: C:\Program Files (x86)\Alibaba\Aegis\bak
public ModifyWebLockStartRequest.Builder mode(String mode)
* **whitelist**: In this mode, web tamper proofing is enabled for the specified directories and file types. * **blacklist**: In this mode, web tamper proofing is enabled for the unspecified subdirectories, file types, and files in the protected directory.
public ModifyWebLockStartRequest.Builder uuid(String uuid)
public ModifyWebLockStartRequest build()
Copyright © 2023. All rights reserved.