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)
> A forwarding rule must be configured for the domain name. You can call the [DescribeDomains](~~91724~~) operation to query all domain names.
public ModifyWebAreaBlockRequest.Builder regions(List<String> regions)
> If you do not configure this parameter, the Blocked Regions (Domain Names) policy is disabled.
public ModifyWebAreaBlockRequest.Builder resourceGroupId(String resourceGroupId)
For more information about resource groups, see [Create a resource group](~~94485~~).
public ModifyWebAreaBlockRequest build()
Copyright © 2023. All rights reserved.