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)
> 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](~~91724~~) operation to query all domain names.
public ModifyWebCacheModeRequest.Builder mode(String mode)
* **standard**: uses the standard cache mode. * **aggressive**: uses the enhanced cache mode. * **bypass**: caches no data.
public ModifyWebCacheModeRequest.Builder resourceGroupId(String resourceGroupId)
public ModifyWebCacheModeRequest build()
Copyright © 2023. All rights reserved.