public class ModifyWebPreciseAccessSwitchRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
config
The configuration of the Accurate Access Control policy.
|
String |
domain
The domain name of the website.
|
String |
resourceGroupId
The ID of the resource group to which the instance belongs in Resource Management.
|
| 构造器和说明 |
|---|
ModifyWebPreciseAccessSwitchRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static ModifyWebPreciseAccessSwitchRequest |
build(Map<String,?> map) |
String |
getConfig() |
String |
getDomain() |
String |
getResourceGroupId() |
ModifyWebPreciseAccessSwitchRequest |
setConfig(String config) |
ModifyWebPreciseAccessSwitchRequest |
setDomain(String domain) |
ModifyWebPreciseAccessSwitchRequest |
setResourceGroupId(String resourceGroupId) |
@NameInMap(value="Config") public 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}
@NameInMap(value="Domain") public 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:@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.
example:default
public static ModifyWebPreciseAccessSwitchRequest build(Map<String,?> map) throws Exception
Exceptionpublic ModifyWebPreciseAccessSwitchRequest setConfig(String config)
public String getConfig()
public ModifyWebPreciseAccessSwitchRequest setDomain(String domain)
public String getDomain()
public ModifyWebPreciseAccessSwitchRequest setResourceGroupId(String resourceGroupId)
public String getResourceGroupId()
Copyright © 2026. All rights reserved.