public static final class ModifyWebPreciseAccessSwitchRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
ModifyWebPreciseAccessSwitchRequest |
build() |
ModifyWebPreciseAccessSwitchRequest.Builder |
config(String config)
The configuration of the Accurate Access Control policy.
|
ModifyWebPreciseAccessSwitchRequest.Builder |
domain(String domain)
The domain name of the website.
|
ModifyWebPreciseAccessSwitchRequest.Builder |
regionId(String regionId)
RegionId.
|
ModifyWebPreciseAccessSwitchRequest.Builder |
resourceGroupId(String resourceGroupId)
The ID of the resource group to which the instance belongs in Resource Management.
|
public ModifyWebPreciseAccessSwitchRequest.Builder regionId(String regionId)
public ModifyWebPreciseAccessSwitchRequest.Builder config(String config)
The configuration of the Accurate Access Control policy. This parameter is a JSON string. The string contains the following fields:
PreciseRuleEnable: the status of the Accurate Access Control policy. This field is required and must be of the INTEGER type. Valid values:
This parameter is required.
example:{"PreciseRuleEnable":0}
public ModifyWebPreciseAccessSwitchRequest.Builder domain(String domain)
The domain name of the website.
A forwarding rule must be configured for a domain name. You can call the DescribeDomains operation to query all domain names.
This parameter is required.
example:public ModifyWebPreciseAccessSwitchRequest.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.
example:default
public ModifyWebPreciseAccessSwitchRequest build()
Copyright © 2026. All rights reserved.