public static final class AddDomainRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
AddDomainRequest |
build() |
AddDomainRequest.Builder |
domainName(String domainName)
The domain name.
|
AddDomainRequest.Builder |
groupId(String groupId)
The ID of the group to which the domain name will belong.
|
AddDomainRequest.Builder |
lang(String lang)
The language of the response.
|
AddDomainRequest.Builder |
resourceGroupId(String resourceGroupId)
The ID of the resource group.
|
public AddDomainRequest.Builder domainName(String domainName)
The domain name.
This parameter is required.
example:dns-example.top
public AddDomainRequest.Builder groupId(String groupId)
The ID of the group to which the domain name will belong. The default value is the ID of the default group.
example:2223
public AddDomainRequest.Builder lang(String lang)
The language of the response. Valid values:
Default value: en.
example:en
public AddDomainRequest.Builder resourceGroupId(String resourceGroupId)
The ID of the resource group.
example:rg-resourcegroupid
public AddDomainRequest build()
Copyright © 2026. All rights reserved.