public static final class DescribeWebRulesResponseBody.WebRules.Builder extends Object
public DescribeWebRulesResponseBody.WebRules.Builder blackList(List<String> blackList)
The IP addresses in the blacklist for the domain name.
public DescribeWebRulesResponseBody.WebRules.Builder ccEnabled(Boolean ccEnabled)
Indicates whether the Frequency Control policy is enabled. Valid values:
true
public DescribeWebRulesResponseBody.WebRules.Builder ccRuleEnabled(Boolean ccRuleEnabled)
Indicates whether the Custom Rule switch of the Frequency Control policy is turned on. Valid values:
false
public DescribeWebRulesResponseBody.WebRules.Builder ccTemplate(String ccTemplate)
The mode of the Frequency Control policy. Valid values:
default
public DescribeWebRulesResponseBody.WebRules.Builder certExpireTime(Long certExpireTime)
public DescribeWebRulesResponseBody.WebRules.Builder certName(String certName)
The name of the SSL certificate.
example:testcert
public DescribeWebRulesResponseBody.WebRules.Builder certRegion(String certRegion)
The region where the certificate is used. Valid values:
cn-hangzhou
public DescribeWebRulesResponseBody.WebRules.Builder cname(String cname)
The CNAME provided by the Anti-DDoS Pro or Anti-DDoS Premium instance to which the domain name is added.
example:kzmk7b8tt351****.aliyunddos1014****
public DescribeWebRulesResponseBody.WebRules.Builder customCiphers(List<String> customCiphers)
The custom cipher suites.
public DescribeWebRulesResponseBody.WebRules.Builder domain(String domain)
The domain name of the website.
example:example.com
public DescribeWebRulesResponseBody.WebRules.Builder gmCert(DescribeWebRulesResponseBody.GmCert gmCert)
The SM certificate settings.
public DescribeWebRulesResponseBody.WebRules.Builder http2Enable(Boolean http2Enable)
Indicates whether Enable HTTP/2 is turned on. Valid values:
true
public DescribeWebRulesResponseBody.WebRules.Builder http2HttpsEnable(Boolean http2HttpsEnable)
Indicates whether Enable HTTPS Redirection was turned on. Valid values:
true
public DescribeWebRulesResponseBody.WebRules.Builder https2HttpEnable(Boolean https2HttpEnable)
Indicates whether Enable HTTP Redirection of Back-to-origin Requests is turned on. Valid values:
true
public DescribeWebRulesResponseBody.WebRules.Builder ocspEnabled(Boolean ocspEnabled)
Indicates whether the Online Certificate Status Protocol (OCSP) feature is enabled. Valid values:
false
public DescribeWebRulesResponseBody.WebRules.Builder policyMode(String policyMode)
The load balancing algorithm for back-to-origin traffic. Valid values:
ip_hash
public DescribeWebRulesResponseBody.WebRules.Builder proxyEnabled(Boolean proxyEnabled)
Indicates whether the forwarding rule is enabled. Valid values:
true
public DescribeWebRulesResponseBody.WebRules.Builder proxyTypes(List<DescribeWebRulesResponseBody.ProxyTypes> proxyTypes)
The details of the protocol type and port number.
public DescribeWebRulesResponseBody.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 DescribeWebRulesResponseBody.WebRules.Builder punishStatus(Boolean punishStatus)
Indicates whether the domain name is invalid. Valid values:
true
public DescribeWebRulesResponseBody.WebRules.Builder realServers(List<DescribeWebRulesResponseBody.RealServers> realServers)
The details of the origin server address.
public DescribeWebRulesResponseBody.WebRules.Builder ssl13Enabled(Boolean ssl13Enabled)
Indicates whether TLS 1.3 is supported. Valid values:
false
public DescribeWebRulesResponseBody.WebRules.Builder sslCiphers(String sslCiphers)
The type of the cipher suite. Valid values:
default
public DescribeWebRulesResponseBody.WebRules.Builder sslProtocols(String sslProtocols)
The version of the Transport Layer Security (TLS) protocol. Valid values:
tls1.1
public DescribeWebRulesResponseBody.WebRules.Builder tls13CustomCiphers(List<String> tls13CustomCiphers)
public DescribeWebRulesResponseBody.WebRules.Builder userCertName(String userCertName)
The name of the certificate uploaded by the user to the certificate center.
example:test
public DescribeWebRulesResponseBody.WebRules.Builder whiteList(List<String> whiteList)
The IP addresses in the whitelist for the domain name.
public DescribeWebRulesResponseBody.WebRules build()
Copyright © 2026. All rights reserved.