public static final class ModifyWebLockCreateConfigRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
ModifyWebLockCreateConfigRequest |
build() |
ModifyWebLockCreateConfigRequest.Builder |
defenceMode(String defenceMode)
The prevention mode.
|
ModifyWebLockCreateConfigRequest.Builder |
dir(String dir)
The directory that you want to protect.
|
ModifyWebLockCreateConfigRequest.Builder |
exclusiveDir(String exclusiveDir)
The directory for which you want to disable web tamper proofing.
|
ModifyWebLockCreateConfigRequest.Builder |
exclusiveFile(String exclusiveFile)
The file for which you want to disable web tamper proofing.
|
ModifyWebLockCreateConfigRequest.Builder |
exclusiveFileType(String exclusiveFileType)
The type of file for which you want to disable web tamper proofing.
|
ModifyWebLockCreateConfigRequest.Builder |
inclusiveFile(String inclusiveFile)
The file for which you want to enable web tamper proofing.
|
ModifyWebLockCreateConfigRequest.Builder |
inclusiveFileType(String inclusiveFileType)
The type of file for which you want to enable web tamper proofing.
|
ModifyWebLockCreateConfigRequest.Builder |
lang(String lang)
The language of the content within the request and response.
|
ModifyWebLockCreateConfigRequest.Builder |
localBackupDir(String localBackupDir)
The local path to the backup files of the protected directory.
|
ModifyWebLockCreateConfigRequest.Builder |
mode(String mode)
The protection mode of web tamper proofing.
|
ModifyWebLockCreateConfigRequest.Builder |
sourceIp(String sourceIp)
The source IP address of the request.
|
ModifyWebLockCreateConfigRequest.Builder |
uuid(String uuid)
The UUID of the server for which you want to add a directory to protect.
|
public ModifyWebLockCreateConfigRequest.Builder defenceMode(String defenceMode)
The prevention mode. Valid values:
This parameter is required.
example:block
public ModifyWebLockCreateConfigRequest.Builder dir(String dir)
The directory that you want to protect.
This parameter is required.
example:/home/admin/tomcat
public ModifyWebLockCreateConfigRequest.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/test
public ModifyWebLockCreateConfigRequest.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/apache.log
public ModifyWebLockCreateConfigRequest.Builder exclusiveFileType(String exclusiveFileType)
The type of 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 ModifyWebLockCreateConfigRequest.Builder inclusiveFile(String inclusiveFile)
The file for which you want to enable web tamper proofing.
example:If you set Mode to whitelist, you must specify this parameter.
/home/admin/test.log
public ModifyWebLockCreateConfigRequest.Builder inclusiveFileType(String inclusiveFileType)
The type of 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.
jpg
public ModifyWebLockCreateConfigRequest.Builder lang(String lang)
The language of the content within the request and response. Valid values:
zh
public ModifyWebLockCreateConfigRequest.Builder localBackupDir(String localBackupDir)
The local path to the backup files of the protected directory.
This parameter is required.
example:/usr/local/backup
public ModifyWebLockCreateConfigRequest.Builder mode(String mode)
The protection mode of web tamper proofing. Valid values:
whitelist
public ModifyWebLockCreateConfigRequest.Builder sourceIp(String sourceIp)
The source IP address of the request.
example:39.170.XX.XX
public ModifyWebLockCreateConfigRequest.Builder uuid(String uuid)
The UUID of the server for which you want to add a directory to protect.
You can call the DescribeCloudCenterInstances operation to query the UUIDs of servers.
This parameter is required.
example:inet-12345****
public ModifyWebLockCreateConfigRequest build()
Copyright © 2026. All rights reserved.