public class ModifyWebAreaBlockRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
domain
The domain name whose configurations you want to modify.
|
List<String> |
regions
The regions from which you block requests.
|
String |
resourceGroupId
The ID of the resource group to which the instance belongs in Resource Management.
|
| 构造器和说明 |
|---|
ModifyWebAreaBlockRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static ModifyWebAreaBlockRequest |
build(Map<String,?> map) |
String |
getDomain() |
List<String> |
getRegions() |
String |
getResourceGroupId() |
ModifyWebAreaBlockRequest |
setDomain(String domain) |
ModifyWebAreaBlockRequest |
setRegions(List<String> regions) |
ModifyWebAreaBlockRequest |
setResourceGroupId(String resourceGroupId) |
@NameInMap(value="Domain") public 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:@NameInMap(value="Regions") public 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
@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.
For more information about resource groups, see Create a resource group.
example:rg-acfm2pz25js****
public static ModifyWebAreaBlockRequest build(Map<String,?> map) throws Exception
Exceptionpublic ModifyWebAreaBlockRequest setDomain(String domain)
public String getDomain()
public ModifyWebAreaBlockRequest setRegions(List<String> regions)
public ModifyWebAreaBlockRequest setResourceGroupId(String resourceGroupId)
public String getResourceGroupId()
Copyright © 2026. All rights reserved.