public class ModifyWebIpSetSwitchRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
config
The details of the Blacklist/Whitelist (Domain Names) feature.
|
String |
domain
The domain name of the website.
|
String |
resourceGroupId
The ID of the resource group to which the instance belongs in Resource Management.
|
| 构造器和说明 |
|---|
ModifyWebIpSetSwitchRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static ModifyWebIpSetSwitchRequest |
build(Map<String,?> map) |
String |
getConfig() |
String |
getDomain() |
String |
getResourceGroupId() |
ModifyWebIpSetSwitchRequest |
setConfig(String config) |
ModifyWebIpSetSwitchRequest |
setDomain(String domain) |
ModifyWebIpSetSwitchRequest |
setResourceGroupId(String resourceGroupId) |
@NameInMap(value="Config") public String config
The details of the Blacklist/Whitelist (Domain Names) feature. This parameter is a JSON string. The value consists of the following fields:
bwlist_enable: the status of the Blacklist/Whitelist (Domain Names) feature. This field is required and must be of the integer type. Valid values:
This parameter is required.
example:{"BwlistEnable":1}
@NameInMap(value="Domain") public String domain
The domain name of the website.
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="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 ModifyWebIpSetSwitchRequest build(Map<String,?> map) throws Exception
Exceptionpublic ModifyWebIpSetSwitchRequest setConfig(String config)
public String getConfig()
public ModifyWebIpSetSwitchRequest setDomain(String domain)
public String getDomain()
public ModifyWebIpSetSwitchRequest setResourceGroupId(String resourceGroupId)
public String getResourceGroupId()
Copyright © 2026. All rights reserved.