public class ModifyWebCacheSwitchRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
domain
The domain name for which you want to configure the Static Page Caching policy.
|
Integer |
enable
Specifies whether to enable or disable the Static Page Caching policy for a website.
|
String |
resourceGroupId
The ID of the resource group to which the instance belongs in Resource Management.
|
| 构造器和说明 |
|---|
ModifyWebCacheSwitchRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static ModifyWebCacheSwitchRequest |
build(Map<String,?> map) |
String |
getDomain() |
Integer |
getEnable() |
String |
getResourceGroupId() |
ModifyWebCacheSwitchRequest |
setDomain(String domain) |
ModifyWebCacheSwitchRequest |
setEnable(Integer enable) |
ModifyWebCacheSwitchRequest |
setResourceGroupId(String resourceGroupId) |
@NameInMap(value="Domain") public String domain
The domain name for which you want to configure the Static Page Caching policy.
You can call the DescribeDomains operation to query all the domain names that are added to Anti-DDoS Pro or Anti-DDoS Premium.
This parameter is required.
example:@NameInMap(value="Enable") public Integer enable
Specifies whether to enable or disable the Static Page Caching policy for a website. Valid values:
This parameter is required.
example:1
@NameInMap(value="ResourceGroupId") public String resourceGroupId
The ID of the resource group to which the instance belongs in Resource Management.
If you do not configure this parameter, the instance belongs to the default resource group.
example:rg-acfm2pz25js****
public static ModifyWebCacheSwitchRequest build(Map<String,?> map) throws Exception
Exceptionpublic ModifyWebCacheSwitchRequest setDomain(String domain)
public String getDomain()
public ModifyWebCacheSwitchRequest setEnable(Integer enable)
public Integer getEnable()
public ModifyWebCacheSwitchRequest setResourceGroupId(String resourceGroupId)
public String getResourceGroupId()
Copyright © 2026. All rights reserved.