public class ModifyCnameReuseRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
cname
The CNAME record that you want to reuse for the website.
|
String |
domain
The domain name of the website.
|
Integer |
enable
Specifies whether to enable CNAME reuse.
|
String |
resourceGroupId
The ID of the resource group to which the instance belongs in Resource Management.
|
| 构造器和说明 |
|---|
ModifyCnameReuseRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static ModifyCnameReuseRequest |
build(Map<String,?> map) |
String |
getCname() |
String |
getDomain() |
Integer |
getEnable() |
String |
getResourceGroupId() |
ModifyCnameReuseRequest |
setCname(String cname) |
ModifyCnameReuseRequest |
setDomain(String domain) |
ModifyCnameReuseRequest |
setEnable(Integer enable) |
ModifyCnameReuseRequest |
setResourceGroupId(String resourceGroupId) |
@NameInMap(value="Cname") public String cname
The CNAME record that you want to reuse for the website.
example:4o6ep6q217k9****.aliyunddos0004.com
@NameInMap(value="Domain") public String domain
The domain name of the website.
A forwarding rule must be configured for the domain name. 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 CNAME reuse. 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 ModifyCnameReuseRequest build(Map<String,?> map) throws Exception
Exceptionpublic ModifyCnameReuseRequest setCname(String cname)
public String getCname()
public ModifyCnameReuseRequest setDomain(String domain)
public String getDomain()
public ModifyCnameReuseRequest setEnable(Integer enable)
public Integer getEnable()
public ModifyCnameReuseRequest setResourceGroupId(String resourceGroupId)
public String getResourceGroupId()
Copyright © 2026. All rights reserved.