public static final class ModifyWebLockUpdateConfigRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
ModifyWebLockUpdateConfigRequest |
build() |
ModifyWebLockUpdateConfigRequest.Builder |
defenceMode(String defenceMode)
The prevention mode.
|
ModifyWebLockUpdateConfigRequest.Builder |
dir(String dir)
The directory for which you want to enable web tamper proofing.
|
ModifyWebLockUpdateConfigRequest.Builder |
exclusiveDir(String exclusiveDir)
The directory for which you want to disable web tamper proofing.
|
ModifyWebLockUpdateConfigRequest.Builder |
exclusiveFile(String exclusiveFile)
The file for which you want to disable web tamper proofing.
|
ModifyWebLockUpdateConfigRequest.Builder |
exclusiveFileType(String exclusiveFileType)
The type of the file for which you want to disable web tamper proofing.
|
ModifyWebLockUpdateConfigRequest.Builder |
id(Integer id)
The ID of the protected directory for which you want to change the status of web tamper proofing.
|
ModifyWebLockUpdateConfigRequest.Builder |
inclusiveFile(String inclusiveFile)
The file for which you want to enable web tamper proofing.
|
ModifyWebLockUpdateConfigRequest.Builder |
inclusiveFileType(String inclusiveFileType)
The type of the file for which you want to enable web tamper proofing.
|
ModifyWebLockUpdateConfigRequest.Builder |
lang(String lang)
The language of the content within the request and response.
|
ModifyWebLockUpdateConfigRequest.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.
|
ModifyWebLockUpdateConfigRequest.Builder |
mode(String mode)
The protection mode of web tamper proofing.
|
ModifyWebLockUpdateConfigRequest.Builder |
sourceIp(String sourceIp)
The source IP address of the request.
|
ModifyWebLockUpdateConfigRequest.Builder |
uuid(String uuid)
The UUID of the server on which the protected directory is located.
|
public ModifyWebLockUpdateConfigRequest.Builder defenceMode(String defenceMode)
* **block**: Interception Mode * **audit**: Alert Mode
public ModifyWebLockUpdateConfigRequest.Builder dir(String dir)
public ModifyWebLockUpdateConfigRequest.Builder exclusiveDir(String exclusiveDir)
> If you set **Mode** to **blacklist**, you must specify this parameter.
public ModifyWebLockUpdateConfigRequest.Builder exclusiveFile(String exclusiveFile)
> If you set **Mode** to **blacklist**, you must specify this parameter.
public ModifyWebLockUpdateConfigRequest.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 ModifyWebLockUpdateConfigRequest.Builder id(Integer id)
> You can call the [DescribeWebLockConfigList](~~DescribeWebLockConfigList~~) operation to query the IDs of protected directories.
public ModifyWebLockUpdateConfigRequest.Builder inclusiveFile(String inclusiveFile)
> If you set **Mode** to **whitelist**, you must specify this parameter.
public ModifyWebLockUpdateConfigRequest.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 ModifyWebLockUpdateConfigRequest.Builder lang(String lang)
* **zh**: Chinese * **en**: English
public ModifyWebLockUpdateConfigRequest.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 ModifyWebLockUpdateConfigRequest.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 ModifyWebLockUpdateConfigRequest.Builder sourceIp(String sourceIp)
public ModifyWebLockUpdateConfigRequest.Builder uuid(String uuid)
> You can call the [DescribeCloudCenterInstances](~~DescribeCloudCenterInstances~~) operation to query the UUIDs of servers.
public ModifyWebLockUpdateConfigRequest build()
Copyright © 2023. All rights reserved.