public static final class ModifyWebAreaBlockRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
ModifyWebAreaBlockRequest |
build() |
ModifyWebAreaBlockRequest.Builder |
domain(String domain)
The domain name whose configurations you want to modify.
|
ModifyWebAreaBlockRequest.Builder |
regionId(String regionId)
RegionId.
|
ModifyWebAreaBlockRequest.Builder |
regions(List<String> regions)
The regions from which you block requests.
|
ModifyWebAreaBlockRequest.Builder |
resourceGroupId(String resourceGroupId)
The ID of the resource group to which the instance belongs in Resource Management.
|
public ModifyWebAreaBlockRequest.Builder regionId(String regionId)
public ModifyWebAreaBlockRequest.Builder domain(String domain)
The domain name whose configurations you want to modify.
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 ModifyWebAreaBlockRequest.Builder regions(List<String> regions)
The regions from which you block requests.
example:If you do not configure this parameter, the Blocked Regions (Domain Names) policy is disabled.
CN-SHANGHAI
public ModifyWebAreaBlockRequest.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.
For more information about resource groups, see Create a resource group.
example:rg-acfm2pz25js****
public ModifyWebAreaBlockRequest build()
Copyright © 2026. All rights reserved.