public static final class UpdateDnsCacheDomainRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
UpdateDnsCacheDomainRequest |
build() |
UpdateDnsCacheDomainRequest.Builder |
cacheTtlMax(Integer cacheTtlMax)
The maximum TTL period of the cached data retrieved from the origin DNS server.
|
UpdateDnsCacheDomainRequest.Builder |
cacheTtlMin(Integer cacheTtlMin)
The minimum time-to-live (TTL) period of the cached data retrieved from the origin Domain Name System (DNS) server.
|
UpdateDnsCacheDomainRequest.Builder |
domainName(String domainName)
The domain name.
|
UpdateDnsCacheDomainRequest.Builder |
instanceId(String instanceId)
The instance ID of the cache-accelerated domain name.
|
UpdateDnsCacheDomainRequest.Builder |
lang(String lang)
The language of the content within the request and response.
|
UpdateDnsCacheDomainRequest.Builder |
sourceDnsServer(List<UpdateDnsCacheDomainRequest.SourceDnsServer> sourceDnsServer)
The origin DNS servers.
|
UpdateDnsCacheDomainRequest.Builder |
sourceEdns(String sourceEdns)
Specifies whether the origin DNS server supports Extension Mechanisms for DNS (EDNS).
|
UpdateDnsCacheDomainRequest.Builder |
sourceProtocol(String sourceProtocol)
The origin protocol policy.
|
public UpdateDnsCacheDomainRequest.Builder cacheTtlMax(Integer cacheTtlMax)
The maximum TTL period of the cached data retrieved from the origin DNS server. Unit: seconds. Valid values: 30 to 86400.
example:86400
public UpdateDnsCacheDomainRequest.Builder cacheTtlMin(Integer cacheTtlMin)
The minimum time-to-live (TTL) period of the cached data retrieved from the origin Domain Name System (DNS) server. Unit: seconds. Valid values: 30 to 86400.
example:30
public UpdateDnsCacheDomainRequest.Builder domainName(String domainName)
The domain name. You can call the DescribeDomains operation to obtian the domain name.
This parameter is required.
example:dns.example.com
public UpdateDnsCacheDomainRequest.Builder instanceId(String instanceId)
The instance ID of the cache-accelerated domain name. You can call the ListCloudGtmInstances operation to obtain the ID.
example:dns-sg-l9u2ux1fw01
public UpdateDnsCacheDomainRequest.Builder lang(String lang)
The language of the content within the request and response. Valid values:
en
public UpdateDnsCacheDomainRequest.Builder sourceDnsServer(List<UpdateDnsCacheDomainRequest.SourceDnsServer> sourceDnsServer)
The origin DNS servers. A maximum of 10 origin DNS servers are supported.
public UpdateDnsCacheDomainRequest.Builder sourceEdns(String sourceEdns)
Specifies whether the origin DNS server supports Extension Mechanisms for DNS (EDNS). Valid values: NOT_SUPPORT and SUPPORT.
example:SUPPORT
public UpdateDnsCacheDomainRequest.Builder sourceProtocol(String sourceProtocol)
The origin protocol policy. Valid values: TCP and UDP. Default value: UDP.
example:UDP
public UpdateDnsCacheDomainRequest build()
Copyright © 2026. All rights reserved.