public static final class DescribeDomainResourceResponseBody.WebRules.Builder extends Object
public DescribeDomainResourceResponseBody.WebRules.Builder blackList(List<String> blackList)
The IP addresses that are included in the blacklist of the domain name.
public DescribeDomainResourceResponseBody.WebRules.Builder ccEnabled(Boolean ccEnabled)
Indicates whether Frequency Control is enabled. Valid values:
true
public DescribeDomainResourceResponseBody.WebRules.Builder ccRuleEnabled(Boolean ccRuleEnabled)
Indicates whether the Custom Rules switch of Frequency Control is turned on. Valid values:
true
public DescribeDomainResourceResponseBody.WebRules.Builder ccTemplate(String ccTemplate)
The mode of Frequency Control. Valid values:
default
public DescribeDomainResourceResponseBody.WebRules.Builder certName(String certName)
The name of the SSL certificate used by the domain name.
example:49944XX.pem
public DescribeDomainResourceResponseBody.WebRules.Builder cname(String cname)
The CNAME provided by the instance to which the domain name is added.
example:0ekb69x3j9wvXXXX.aliyunddosXXXX.com
public DescribeDomainResourceResponseBody.WebRules.Builder customCiphers(List<String> customCiphers)
The custom cipher suites.
public DescribeDomainResourceResponseBody.WebRules.Builder domain(String domain)
The domain name of the website.
example:public DescribeDomainResourceResponseBody.WebRules.Builder http2Enable(Boolean http2Enable)
Indicates whether Enable HTTP/2 is turned on. Valid values:
false
public DescribeDomainResourceResponseBody.WebRules.Builder http2HttpsEnable(Boolean http2HttpsEnable)
Indicates whether Enable HTTPS Redirection is turned on. Valid values:
false
public DescribeDomainResourceResponseBody.WebRules.Builder https2HttpEnable(Boolean https2HttpEnable)
Indicates whether Enable HTTP Redirection of Back-to-origin Requests is turned on. Valid values:
false
public DescribeDomainResourceResponseBody.WebRules.Builder httpsExt(String httpsExt)
The advanced HTTPS settings. This parameter takes effect only when the value of the ProxyType parameter includes https. The value is a string that consists of a JSON struct. The JSON struct contains the following fields:
{"Https2http":0,"Http2":0,"Http2https":0}
public DescribeDomainResourceResponseBody.WebRules.Builder instanceIds(List<String> instanceIds)
The IDs of the instances to which the domain name is added.
public DescribeDomainResourceResponseBody.WebRules.Builder ocspEnabled(Boolean ocspEnabled)
Indicates whether the Online Certificate Status Protocol (OCSP) feature is turned on. Valid values:
false
public DescribeDomainResourceResponseBody.WebRules.Builder policyMode(String policyMode)
The scheduling algorithm for back-to-origin traffic. Valid values:
ip_hash
public DescribeDomainResourceResponseBody.WebRules.Builder proxyEnabled(Boolean proxyEnabled)
Indicates whether the instance forwards the traffic that is destined for the website. Valid values:
true
public DescribeDomainResourceResponseBody.WebRules.Builder proxyTypes(List<DescribeDomainResourceResponseBody.ProxyTypes> proxyTypes)
The details about the protocol type and port number.
public DescribeDomainResourceResponseBody.WebRules.Builder punishReason(Integer punishReason)
The reason why the domain name is invalid. Valid values:
If the two reasons are both involved, the value 2 is returned.
example:1
public DescribeDomainResourceResponseBody.WebRules.Builder punishStatus(Boolean punishStatus)
Indicates whether the domain name is invalid. Valid values:
false
public DescribeDomainResourceResponseBody.WebRules.Builder realServers(List<String> realServers)
The addresses of origin servers.
public DescribeDomainResourceResponseBody.WebRules.Builder rsType(Integer rsType)
The address type of the origin server. Valid values:
0
public DescribeDomainResourceResponseBody.WebRules.Builder ssl13Enabled(Boolean ssl13Enabled)
Indicates whether TLS 1.3 is supported. Valid values:
false
public DescribeDomainResourceResponseBody.WebRules.Builder sslCiphers(String sslCiphers)
The type of the cipher suite. Valid values:
default
public DescribeDomainResourceResponseBody.WebRules.Builder sslProtocols(String sslProtocols)
The version of the TLS protocol. Valid values:
tls1.0
public DescribeDomainResourceResponseBody.WebRules.Builder whiteList(List<String> whiteList)
The IP addresses that are included in the whitelist of the domain name.
public DescribeDomainResourceResponseBody.WebRules build()
Copyright © 2026. All rights reserved.