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)
> You can call the [DescribeDomains](~~91724~~) operation to query all the domain names that are added to Anti-DDoS Pro or Anti-DDoS Premium.
public ModifyWebCacheSwitchRequest.Builder enable(Integer enable)
* **1**: enables the policy. * **0**: disables the policy.
public ModifyWebCacheSwitchRequest.Builder resourceGroupId(String resourceGroupId)
If you do not configure this parameter, the instance belongs to the default resource group.
public ModifyWebCacheSwitchRequest build()
Copyright © 2023. All rights reserved.