public class ModifyWebAIProtectSwitchRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
config
The details of the Intelligent Protection policy.
|
String |
domain
The domain name of the website.
|
String |
resourceGroupId
The ID of the resource group to which the instance belongs in Resource Management.
|
| 构造器和说明 |
|---|
ModifyWebAIProtectSwitchRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static ModifyWebAIProtectSwitchRequest |
build(Map<String,?> map) |
String |
getConfig() |
String |
getDomain() |
String |
getResourceGroupId() |
ModifyWebAIProtectSwitchRequest |
setConfig(String config) |
ModifyWebAIProtectSwitchRequest |
setDomain(String domain) |
ModifyWebAIProtectSwitchRequest |
setResourceGroupId(String resourceGroupId) |
@NameInMap(value="Config") public String config
The details of the Intelligent Protection policy. This parameter is a JSON string. The string contains the following fields:
AiRuleEnable: the status of the Intelligent Protection policy. This field is required and must be of the integer type. Valid values:
This parameter is required.
example:{"AiRuleEnable": 1}
@NameInMap(value="Domain") public String domain
The domain name of the website.
A forwarding rule must be configured for a domain name. You can call the DescribeDomains operation to query all domain names.
This parameter is required.
example:@NameInMap(value="ResourceGroupId") public 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 static ModifyWebAIProtectSwitchRequest build(Map<String,?> map) throws Exception
Exceptionpublic ModifyWebAIProtectSwitchRequest setConfig(String config)
public String getConfig()
public ModifyWebAIProtectSwitchRequest setDomain(String domain)
public String getDomain()
public ModifyWebAIProtectSwitchRequest setResourceGroupId(String resourceGroupId)
public String getResourceGroupId()
Copyright © 2026. All rights reserved.