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.
|
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)
The prevention mode. Valid values:
This parameter is required.
example:block
public ModifyWebLockStartRequest.Builder dir(String dir)
The directory for which you want to enable web tamper proofing. Separate multiple directories with commas (,).
This parameter is required.
example:/home/admin/tomcat
public ModifyWebLockStartRequest.Builder exclusiveDir(String exclusiveDir)
The directory for which you want to disable web tamper proofing.
example:If you set Mode to blacklist, you must specify this parameter.
/home/admin/java
public ModifyWebLockStartRequest.Builder exclusiveFile(String exclusiveFile)
The file for which you want to disable web tamper proofing.
example:If you set Mode to blacklist, you must specify this parameter.
/home/admin/tomcat/localhost.log
public ModifyWebLockStartRequest.Builder exclusiveFileType(String exclusiveFileType)
The type of the file for which you want to disable web tamper proofing. Separate multiple types with semicolons (;). Valid values:
example:If you set Mode to blacklist, you must specify this parameter.
jpg
public ModifyWebLockStartRequest.Builder inclusiveFileType(String inclusiveFileType)
The type of the file for which you want to enable web tamper proofing. Separate multiple types with semicolons (;). Valid values:
example:If you set Mode to whitelist, you must specify this parameter.
php
public 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. You must enter the directory in the required format based on your operating system. Examples:
This parameter is required.
example:/usr/local/backup
public ModifyWebLockStartRequest.Builder mode(String mode)
The protection mode of web tamper proofing. Valid values:
This parameter is required.
example:whitelist
public ModifyWebLockStartRequest.Builder uuid(String uuid)
The UUID of the server for which you want to enable web tamper proofing.
This parameter is required.
example:80d2f7d6-31a9-4d7f-8ff4-7ecc42f89ca****
public ModifyWebLockStartRequest build()
Copyright © 2026. All rights reserved.