public static final class ModifyWebAIProtectModeRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
ModifyWebAIProtectModeRequest |
build() |
ModifyWebAIProtectModeRequest.Builder |
config(String config)
The details of the Intelligent Protection policy.
|
ModifyWebAIProtectModeRequest.Builder |
domain(String domain)
The domain name of the website.
|
ModifyWebAIProtectModeRequest.Builder |
regionId(String regionId)
RegionId.
|
ModifyWebAIProtectModeRequest.Builder |
resourceGroupId(String resourceGroupId)
The ID of the resource group to which the instance belongs in Resource Management.
|
public ModifyWebAIProtectModeRequest.Builder regionId(String regionId)
public ModifyWebAIProtectModeRequest.Builder config(String config)
The details of the Intelligent Protection policy. This parameter is a JSON string. The string contains the following fields:
AiTemplate: the level of the Intelligent Protection policy. This field is required and must be of the STRING type. Valid values:
AiMode: the mode of the Intelligent Protection policy. This field is required and must be of the string type. Valid values:
This parameter is required.
example:{"AiTemplate":"level60","AiMode":"defense"}
public ModifyWebAIProtectModeRequest.Builder domain(String domain)
The domain name of the website.
A forwarding rule must be configured for the domain name. You can call the DescribeDomains operation to query all domain names.
This parameter is required.
example:public ModifyWebAIProtectModeRequest.Builder resourceGroupId(String resourceGroupId)
The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.
example:default
public ModifyWebAIProtectModeRequest build()
Copyright © 2026. All rights reserved.