public static final class ModifyWebAreaBlockSwitchRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
ModifyWebAreaBlockSwitchRequest |
build() |
ModifyWebAreaBlockSwitchRequest.Builder |
config(String config)
Specifies whether to enable or disable the Location Blacklist (Domain Names) policy for a domain name.
|
ModifyWebAreaBlockSwitchRequest.Builder |
domain(String domain)
The domain name for which you want to enable or disable the Location Blacklist policy.
|
ModifyWebAreaBlockSwitchRequest.Builder |
regionId(String regionId)
RegionId.
|
ModifyWebAreaBlockSwitchRequest.Builder |
resourceGroupId(String resourceGroupId)
The ID of the resource group to which the instance belongs in Resource Management.
|
public ModifyWebAreaBlockSwitchRequest.Builder regionId(String regionId)
public ModifyWebAreaBlockSwitchRequest.Builder config(String config)
* **RegionblockEnable**: the status of the Location Blacklist (Domain Names) policy. This parameter is required and must be of the INTEGER type. Valid values: * **1**: enables the policy. * **0**: disables the policy.
public ModifyWebAreaBlockSwitchRequest.Builder domain(String domain)
> You can call the [DescribeDomains](~~91724~~) operation to query all the domain names that are added to Anti-DDoS Pro or Anti-DDoS Premium.
public ModifyWebAreaBlockSwitchRequest.Builder resourceGroupId(String resourceGroupId)
If you do not configure this parameter, the instance belongs to the default resource group.
public ModifyWebAreaBlockSwitchRequest build()
Copyright © 2023. All rights reserved.