public static final class ModifyHttp2EnableRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
ModifyHttp2EnableRequest |
build() |
ModifyHttp2EnableRequest.Builder |
domain(String domain)
The domain name of the website.
|
ModifyHttp2EnableRequest.Builder |
enable(Integer enable)
Specifies whether to enable HTTP/2.
|
ModifyHttp2EnableRequest.Builder |
regionId(String regionId)
RegionId.
|
ModifyHttp2EnableRequest.Builder |
resourceGroupId(String resourceGroupId)
The ID of the resource group to which the instance belongs in Resource Management.
|
public ModifyHttp2EnableRequest.Builder regionId(String regionId)
public ModifyHttp2EnableRequest.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 ModifyHttp2EnableRequest.Builder enable(Integer enable)
* **0**: disables HTTP/2. * **1**: enables HTTP/2.
public ModifyHttp2EnableRequest.Builder resourceGroupId(String resourceGroupId)
public ModifyHttp2EnableRequest build()
Copyright © 2023. All rights reserved.