public class ModifyWebCacheModeRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
domain
The domain name of the website.
|
String |
mode
The cache mode of the Static Page Caching policy.
|
String |
resourceGroupId
The ID of the resource group to which the instance belongs in Resource Management.
|
| 构造器和说明 |
|---|
ModifyWebCacheModeRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static ModifyWebCacheModeRequest |
build(Map<String,?> map) |
String |
getDomain() |
String |
getMode() |
String |
getResourceGroupId() |
ModifyWebCacheModeRequest |
setDomain(String domain) |
ModifyWebCacheModeRequest |
setMode(String mode) |
ModifyWebCacheModeRequest |
setResourceGroupId(String resourceGroupId) |
@NameInMap(value="Domain") public String domain
The domain name of the website.
A forwarding rule must be configured for the domain name, and the domain name must be associated with an instance that uses the Enhanced function plan. You can call the DescribeDomains operation to query all domain names.
This parameter is required.
example:@NameInMap(value="Mode") public String mode
The cache mode of the Static Page Caching policy. Valid values:
This parameter is required.
example:standard
@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 ModifyWebCacheModeRequest build(Map<String,?> map) throws Exception
Exceptionpublic ModifyWebCacheModeRequest setDomain(String domain)
public String getDomain()
public ModifyWebCacheModeRequest setMode(String mode)
public String getMode()
public ModifyWebCacheModeRequest setResourceGroupId(String resourceGroupId)
public String getResourceGroupId()
Copyright © 2026. All rights reserved.