public static final class ModifyWebCacheModeRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
ModifyWebCacheModeRequest |
build() |
ModifyWebCacheModeRequest.Builder |
domain(String domain)
The domain name of the website.
|
ModifyWebCacheModeRequest.Builder |
mode(String mode)
The cache mode of the Static Page Caching policy.
|
ModifyWebCacheModeRequest.Builder |
regionId(String regionId)
RegionId.
|
ModifyWebCacheModeRequest.Builder |
resourceGroupId(String resourceGroupId)
The ID of the resource group to which the instance belongs in Resource Management.
|
public ModifyWebCacheModeRequest.Builder regionId(String regionId)
public ModifyWebCacheModeRequest.Builder domain(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:public ModifyWebCacheModeRequest.Builder mode(String mode)
The cache mode of the Static Page Caching policy. Valid values:
This parameter is required.
example:standard
public ModifyWebCacheModeRequest.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 ModifyWebCacheModeRequest build()
Copyright © 2026. All rights reserved.