public class ModifyHttp2EnableRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
domain
The domain name of the website.
|
Integer |
enable
Specifies whether to enable HTTP/2.
|
String |
resourceGroupId
The ID of the resource group to which the instance belongs in Resource Management.
|
| 构造器和说明 |
|---|
ModifyHttp2EnableRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static ModifyHttp2EnableRequest |
build(Map<String,?> map) |
String |
getDomain() |
Integer |
getEnable() |
String |
getResourceGroupId() |
ModifyHttp2EnableRequest |
setDomain(String domain) |
ModifyHttp2EnableRequest |
setEnable(Integer enable) |
ModifyHttp2EnableRequest |
setResourceGroupId(String resourceGroupId) |
@NameInMap(value="Domain") public 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:@NameInMap(value="Enable") public Integer enable
Specifies whether to enable HTTP/2. Valid values:
This parameter is required.
example:1
@NameInMap(value="ResourceGroupId") public 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 static ModifyHttp2EnableRequest build(Map<String,?> map) throws Exception
Exceptionpublic ModifyHttp2EnableRequest setDomain(String domain)
public String getDomain()
public ModifyHttp2EnableRequest setEnable(Integer enable)
public Integer getEnable()
public ModifyHttp2EnableRequest setResourceGroupId(String resourceGroupId)
public String getResourceGroupId()
Copyright © 2026. All rights reserved.