public static final class DescribeDomainResourceResponseBody.WebRules.Builder extends Object
构造器和说明 |
---|
Builder() |
限定符和类型 | 方法和说明 |
---|---|
DescribeDomainResourceResponseBody.WebRules.Builder |
blackList(List<String> blackList)
An array consisting of the IP addresses that are included in the blacklist of the domain name.
|
DescribeDomainResourceResponseBody.WebRules |
build() |
DescribeDomainResourceResponseBody.WebRules.Builder |
ccEnabled(Boolean ccEnabled)
Indicates whether the Frequency Control policy is enabled.
|
DescribeDomainResourceResponseBody.WebRules.Builder |
ccRuleEnabled(Boolean ccRuleEnabled)
Indicates whether the Custom Rule switch of the Frequency Control policy is turned on.
|
DescribeDomainResourceResponseBody.WebRules.Builder |
ccTemplate(String ccTemplate)
The mode of the Frequency Control policy.
|
DescribeDomainResourceResponseBody.WebRules.Builder |
certName(String certName)
The name of the SSL certificate used by the domain name.
|
DescribeDomainResourceResponseBody.WebRules.Builder |
cname(String cname)
The CNAME provided by the instance to which the domain name is added.
|
DescribeDomainResourceResponseBody.WebRules.Builder |
customCiphers(List<String> customCiphers)
An array that consists of custom cipher suites.
|
DescribeDomainResourceResponseBody.WebRules.Builder |
domain(String domain)
The domain name of the website.
|
DescribeDomainResourceResponseBody.WebRules.Builder |
http2Enable(Boolean http2Enable)
Indicates whether Enable HTTP/2 is turned on.
|
DescribeDomainResourceResponseBody.WebRules.Builder |
http2HttpsEnable(Boolean http2HttpsEnable)
Indicates whether Enforce HTTPS Routing is turned on.
|
DescribeDomainResourceResponseBody.WebRules.Builder |
https2HttpEnable(Boolean https2HttpEnable)
Indicates whether Enable HTTP is turned on.
|
DescribeDomainResourceResponseBody.WebRules.Builder |
httpsExt(String httpsExt)
The advanced HTTPS settings.
|
DescribeDomainResourceResponseBody.WebRules.Builder |
instanceIds(List<String> instanceIds)
An array consisting of the IDs of the instances to which the domain name is added.
|
DescribeDomainResourceResponseBody.WebRules.Builder |
policyMode(String policyMode)
The scheduling algorithm for back-to-origin traffic.
|
DescribeDomainResourceResponseBody.WebRules.Builder |
proxyEnabled(Boolean proxyEnabled)
Indicates whether the instance forwards the traffic that is destined for the website.
|
DescribeDomainResourceResponseBody.WebRules.Builder |
proxyTypes(List<DescribeDomainResourceResponseBody.ProxyTypes> proxyTypes)
An array that consists of the details of the protocol type and port number.
|
DescribeDomainResourceResponseBody.WebRules.Builder |
punishReason(Integer punishReason)
The reason why the domain name is invalid.
|
DescribeDomainResourceResponseBody.WebRules.Builder |
punishStatus(Boolean punishStatus)
Indicates whether the domain name is invalid.
|
DescribeDomainResourceResponseBody.WebRules.Builder |
realServers(List<String> realServers)
An array that consists of the addresses of the origin servers.
|
DescribeDomainResourceResponseBody.WebRules.Builder |
rsType(Integer rsType)
The address type of the origin server.
|
DescribeDomainResourceResponseBody.WebRules.Builder |
ssl13Enabled(Boolean ssl13Enabled)
Indicates whether TLS 1.3 is supported.
|
DescribeDomainResourceResponseBody.WebRules.Builder |
sslCiphers(String sslCiphers)
The type of the cipher suite.
|
DescribeDomainResourceResponseBody.WebRules.Builder |
sslProtocols(String sslProtocols)
The version of the TLS protocol.
|
DescribeDomainResourceResponseBody.WebRules.Builder |
whiteList(List<String> whiteList)
An array consisting of the IP addresses that are included in the whitelist of the domain name.
|
public DescribeDomainResourceResponseBody.WebRules.Builder blackList(List<String> blackList)
public DescribeDomainResourceResponseBody.WebRules.Builder ccEnabled(Boolean ccEnabled)
* **true**: yes * **false**: no
public DescribeDomainResourceResponseBody.WebRules.Builder ccRuleEnabled(Boolean ccRuleEnabled)
* **true**: yes * **false**: no
public DescribeDomainResourceResponseBody.WebRules.Builder ccTemplate(String ccTemplate)
* **default**: the Normal mode * **gf_under_attack**: the Emergency mode * **gf_sos_verify**: the Strict mode * **gf_sos_verify**: the Super Strict mode
public DescribeDomainResourceResponseBody.WebRules.Builder certName(String certName)
public DescribeDomainResourceResponseBody.WebRules.Builder cname(String cname)
public DescribeDomainResourceResponseBody.WebRules.Builder customCiphers(List<String> customCiphers)
public DescribeDomainResourceResponseBody.WebRules.Builder domain(String domain)
public DescribeDomainResourceResponseBody.WebRules.Builder http2Enable(Boolean http2Enable)
* **true**: yes * **false**: no
public DescribeDomainResourceResponseBody.WebRules.Builder http2HttpsEnable(Boolean http2HttpsEnable)
* **true**: yes * **false**: no
public DescribeDomainResourceResponseBody.WebRules.Builder https2HttpEnable(Boolean https2HttpEnable)
* **true**: yes * **false**: no
public DescribeDomainResourceResponseBody.WebRules.Builder httpsExt(String httpsExt)
* **Http2https**: indicates whether the feature of redirecting HTTP requests to HTTPS requests is enabled. Data type: integer. Valid values: **0** and **1**. The value 0 indicates that the feature is disabled. The value 1 indicates that the feature is enabled. * **Https2http**: indicates whether the feature of redirecting HTTPS requests to HTTP requests is enabled. Data type: integer. Valid values: **0** and **1**. The value 0 indicates that the feature is disabled. The value 1 indicates that the feature is enabled. * **Http2**: indicates whether HTTP/2 is supported. Data type: integer. Valid values: **0** and **1**. The value 0 indicates that HTTP/2 is not supported. The value 1 indicates that HTTP/2 is supported.
public DescribeDomainResourceResponseBody.WebRules.Builder instanceIds(List<String> instanceIds)
public DescribeDomainResourceResponseBody.WebRules.Builder policyMode(String policyMode)
* **ip_hash**: the IP hash algorithm. This algorithm is used to redirect the requests from the same IP address to the same origin server. * **rr**: the round-robin algorithm. This algorithm is used to redirect requests to origin servers in turn. * **least_time**: the least response time algorithm. This algorithm is used to minimize the latency when requests are forwarded from Anti-DDoS Pro or Anti-DDoS Premium instances to origin servers based on the intelligent DNS resolution feature.
public DescribeDomainResourceResponseBody.WebRules.Builder proxyEnabled(Boolean proxyEnabled)
* **true**: yes * **false**: no
public DescribeDomainResourceResponseBody.WebRules.Builder proxyTypes(List<DescribeDomainResourceResponseBody.ProxyTypes> proxyTypes)
public DescribeDomainResourceResponseBody.WebRules.Builder punishReason(Integer punishReason)
* **1**: No ICP filing is completed for the domain name. * **2**: The business for which you registered the domain name does not meet regulatory requirements. If the two reasons are both involved, the value **2** is returned.
public DescribeDomainResourceResponseBody.WebRules.Builder punishStatus(Boolean punishStatus)
* **true**: The domain name is invalid. You can view the specific reasons from the **PunishReason** parameter. * **false**: The domain name is valid.
public DescribeDomainResourceResponseBody.WebRules.Builder realServers(List<String> realServers)
public DescribeDomainResourceResponseBody.WebRules.Builder rsType(Integer rsType)
* **0**: IP address * **1**: domain name
public DescribeDomainResourceResponseBody.WebRules.Builder ssl13Enabled(Boolean ssl13Enabled)
* **true**: yes * **false**: no
public DescribeDomainResourceResponseBody.WebRules.Builder sslCiphers(String sslCiphers)
* **default**: custom cipher suite * **all**: all cipher suites * **strong**: strong cipher suites
public DescribeDomainResourceResponseBody.WebRules.Builder sslProtocols(String sslProtocols)
* **tls1.0**: TLS 1.0 or later * **tls1.1**: TLS 1.1 or later * **tls1.2**: TLS 1.2 or later
public DescribeDomainResourceResponseBody.WebRules.Builder whiteList(List<String> whiteList)
public DescribeDomainResourceResponseBody.WebRules build()
Copyright © 2023. All rights reserved.