public static final class ModifyWebCacheSwitchRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
ModifyWebCacheSwitchRequest |
build() |
ModifyWebCacheSwitchRequest.Builder |
domain(String domain)
The domain name for which you want to configure the Static Page Caching policy.
|
ModifyWebCacheSwitchRequest.Builder |
enable(Integer enable)
Specifies whether to enable or disable the Static Page Caching policy for a website.
|
ModifyWebCacheSwitchRequest.Builder |
regionId(String regionId)
RegionId.
|
ModifyWebCacheSwitchRequest.Builder |
resourceGroupId(String resourceGroupId)
The ID of the resource group to which the instance belongs in Resource Management.
|
public ModifyWebCacheSwitchRequest.Builder regionId(String regionId)
public ModifyWebCacheSwitchRequest.Builder domain(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:public ModifyWebCacheSwitchRequest.Builder enable(Integer enable)
Specifies whether to enable or disable the Static Page Caching policy for a website. Valid values:
This parameter is required.
example:1
public ModifyWebCacheSwitchRequest.Builder resourceGroupId(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 ModifyWebCacheSwitchRequest build()
Copyright © 2026. All rights reserved.