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)
* **AiTemplate**: the level of the Intelligent Protection policy. This field is required and must be of the STRING type. Valid values: * **level30**: the Low level * **level60**: the Normal level * **level90**: the Strict level * **AiMode**: the mode of the Intelligent Protection policy. This field is required and must be of the string type. Valid values: * **watch**: the Warning mode * **defense**: the Defense mode
public ModifyWebAIProtectModeRequest.Builder domain(String domain)
> A forwarding rule must be configured for a domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.
public ModifyWebAIProtectModeRequest.Builder resourceGroupId(String resourceGroupId)
public ModifyWebAIProtectModeRequest build()
Copyright © 2023. All rights reserved.