public static final class ModifyCnameReuseRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
ModifyCnameReuseRequest |
build() |
ModifyCnameReuseRequest.Builder |
cname(String cname)
The CNAME record that you want to reuse for the website.
|
ModifyCnameReuseRequest.Builder |
domain(String domain)
The domain name of the website.
|
ModifyCnameReuseRequest.Builder |
enable(Integer enable)
Specifies whether to enable CNAME reuse.
|
ModifyCnameReuseRequest.Builder |
regionId(String regionId)
RegionId.
|
ModifyCnameReuseRequest.Builder |
resourceGroupId(String resourceGroupId)
The ID of the resource group to which the instance belongs in Resource Management.
|
public ModifyCnameReuseRequest.Builder regionId(String regionId)
public ModifyCnameReuseRequest.Builder cname(String cname)
The CNAME record that you want to reuse for the website.
example:4o6ep6q217k9****.aliyunddos0004.com
public ModifyCnameReuseRequest.Builder domain(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:public ModifyCnameReuseRequest.Builder enable(Integer enable)
Specifies whether to enable CNAME reuse. Valid values:
This parameter is required.
example:1
public ModifyCnameReuseRequest.Builder resourceGroupId(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 ModifyCnameReuseRequest build()
Copyright © 2026. All rights reserved.