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.
|
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)
The prevention mode. Valid values:
This parameter is required.
example:block
public ModifyWebLockUpdateConfigRequest.Builder dir(String dir)
The directory for which you want to enable web tamper proofing.
This parameter is required.
example:/home/admin/tomcat
public ModifyWebLockUpdateConfigRequest.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 ModifyWebLockUpdateConfigRequest.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 ModifyWebLockUpdateConfigRequest.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 ModifyWebLockUpdateConfigRequest.Builder id(Integer id)
The ID of the protected directory for which you want to change the status of web tamper proofing.
You can call the DescribeWebLockConfigList operation to query the IDs of protected directories.
This parameter is required.
example:312077
public ModifyWebLockUpdateConfigRequest.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 ModifyWebLockUpdateConfigRequest.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.
jpg
public ModifyWebLockUpdateConfigRequest.Builder lang(String lang)
The language of the content within the request and response. Valid values:
zh
public 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. You must enter the directory in the required format based on your operating system. Examples:
This parameter is required.
example:/usr/local/backup
public ModifyWebLockUpdateConfigRequest.Builder mode(String mode)
The protection mode of web tamper proofing. Valid values:
blacklist
public ModifyWebLockUpdateConfigRequest.Builder sourceIp(String sourceIp)
The source IP address of the request.
example:36.112.XX.XX
public ModifyWebLockUpdateConfigRequest.Builder uuid(String uuid)
The UUID of the server on which the protected directory is located.
You can call the DescribeCloudCenterInstances operation to query the UUIDs of servers.
This parameter is required.
example:4fe8e1cd-3c37-4851-b9de-124da32c****
public ModifyWebLockUpdateConfigRequest build()
Copyright © 2026. All rights reserved.