public static final class ModifyWebAIProtectSwitchRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
ModifyWebAIProtectSwitchRequest |
build() |
ModifyWebAIProtectSwitchRequest.Builder |
config(String config)
The details of the Intelligent Protection policy.
|
ModifyWebAIProtectSwitchRequest.Builder |
domain(String domain)
The domain name of the website.
|
ModifyWebAIProtectSwitchRequest.Builder |
regionId(String regionId)
RegionId.
|
ModifyWebAIProtectSwitchRequest.Builder |
resourceGroupId(String resourceGroupId)
The ID of the resource group to which the instance belongs in Resource Management.
|
public ModifyWebAIProtectSwitchRequest.Builder regionId(String regionId)
public ModifyWebAIProtectSwitchRequest.Builder config(String config)
* **AiRuleEnable**: the status of the Intelligent Protection policy. This field is required and must be of the integer type. Valid values: * **0**: disabled * **1**: enabled
public ModifyWebAIProtectSwitchRequest.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 ModifyWebAIProtectSwitchRequest.Builder resourceGroupId(String resourceGroupId)
public ModifyWebAIProtectSwitchRequest build()
Copyright © 2023. All rights reserved.