public class ZoneConfig extends AbstractModel
header, skipSign
Constructor and Description |
---|
ZoneConfig() |
ZoneConfig(ZoneConfig source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
AccelerateMainlandParameters |
getAccelerateMainland()
Get 中国大陆加速优化配置。
注意:此字段可能返回 null,表示取不到有效值。
|
CacheConfigParameters |
getCache()
Get 缓存过期时间配置。
注意:此字段可能返回 null,表示取不到有效值。
|
CacheKeyConfigParameters |
getCacheKey()
Get 节点缓存键配置。
注意:此字段可能返回 null,表示取不到有效值。
|
CachePrefreshParameters |
getCachePrefresh()
Get 缓存预刷新配置。
注意:此字段可能返回 null,表示取不到有效值。
|
ClientIPCountryParameters |
getClientIPCountry()
Get 回源时是否携带客户端 IP 所属地域信息的配置。
注意:此字段可能返回 null,表示取不到有效值。
|
ClientIPHeaderParameters |
getClientIPHeader()
Get 客户端 IP 回源请求头配置。
注意:此字段可能返回 null,表示取不到有效值。
|
CompressionParameters |
getCompression()
Get 智能压缩配置。
注意:此字段可能返回 null,表示取不到有效值。
|
ForceRedirectHTTPSParameters |
getForceRedirectHTTPS()
Get 访问协议强制 HTTPS 跳转配置。
注意:此字段可能返回 null,表示取不到有效值。
|
GrpcParameters |
getGrpc()
Get gRPC 协议支持配置。
注意:此字段可能返回 null,表示取不到有效值。
|
HSTSParameters |
getHSTS()
Get HSTS 相关配置。
注意:此字段可能返回 null,表示取不到有效值。
|
HTTP2Parameters |
getHTTP2()
Get HTTP2 相关配置。
注意:此字段可能返回 null,表示取不到有效值。
|
IPv6Parameters |
getIPv6()
Get IPv6 访问配置。
注意:此字段可能返回 null,表示取不到有效值。
|
MaxAgeParameters |
getMaxAge()
Get 浏览器缓存配置。
注意:此字段可能返回 null,表示取不到有效值。
|
OCSPStaplingParameters |
getOCSPStapling()
Get OCSP 装订配置。
注意:此字段可能返回 null,表示取不到有效值。
|
OfflineCacheParameters |
getOfflineCache()
Get 离线缓存配置。
注意:此字段可能返回 null,表示取不到有效值。
|
PostMaxSizeParameters |
getPostMaxSize()
Get POST 请求传输配置。
注意:此字段可能返回 null,表示取不到有效值。
|
QUICParameters |
getQUIC()
Get QUIC 访问配置。
注意:此字段可能返回 null,表示取不到有效值。
|
SmartRoutingParameters |
getSmartRouting()
Get 智能加速配置。
注意:此字段可能返回 null,表示取不到有效值。
|
StandardDebugParameters |
getStandardDebug()
Get 标准 Debug 配置。
注意:此字段可能返回 null,表示取不到有效值。
|
TLSConfigParameters |
getTLSConfig()
Get TLS 相关配置。
注意:此字段可能返回 null,表示取不到有效值。
|
UpstreamHTTP2Parameters |
getUpstreamHTTP2()
Get HTTP2 回源配置。
注意:此字段可能返回 null,表示取不到有效值。
|
WebSocketParameters |
getWebSocket()
Get WebSocket 配置。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setAccelerateMainland(AccelerateMainlandParameters AccelerateMainland)
Set 中国大陆加速优化配置。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setCache(CacheConfigParameters Cache)
Set 缓存过期时间配置。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setCacheKey(CacheKeyConfigParameters CacheKey)
Set 节点缓存键配置。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setCachePrefresh(CachePrefreshParameters CachePrefresh)
Set 缓存预刷新配置。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setClientIPCountry(ClientIPCountryParameters ClientIPCountry)
Set 回源时是否携带客户端 IP 所属地域信息的配置。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setClientIPHeader(ClientIPHeaderParameters ClientIPHeader)
Set 客户端 IP 回源请求头配置。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setCompression(CompressionParameters Compression)
Set 智能压缩配置。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setForceRedirectHTTPS(ForceRedirectHTTPSParameters ForceRedirectHTTPS)
Set 访问协议强制 HTTPS 跳转配置。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setGrpc(GrpcParameters Grpc)
Set gRPC 协议支持配置。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setHSTS(HSTSParameters HSTS)
Set HSTS 相关配置。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setHTTP2(HTTP2Parameters HTTP2)
Set HTTP2 相关配置。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setIPv6(IPv6Parameters IPv6)
Set IPv6 访问配置。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setMaxAge(MaxAgeParameters MaxAge)
Set 浏览器缓存配置。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setOCSPStapling(OCSPStaplingParameters OCSPStapling)
Set OCSP 装订配置。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setOfflineCache(OfflineCacheParameters OfflineCache)
Set 离线缓存配置。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setPostMaxSize(PostMaxSizeParameters PostMaxSize)
Set POST 请求传输配置。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setQUIC(QUICParameters QUIC)
Set QUIC 访问配置。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setSmartRouting(SmartRoutingParameters SmartRouting)
Set 智能加速配置。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setStandardDebug(StandardDebugParameters StandardDebug)
Set 标准 Debug 配置。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setTLSConfig(TLSConfigParameters TLSConfig)
Set TLS 相关配置。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setUpstreamHTTP2(UpstreamHTTP2Parameters UpstreamHTTP2)
Set HTTP2 回源配置。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setWebSocket(WebSocketParameters WebSocket)
Set WebSocket 配置。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ZoneConfig()
public ZoneConfig(ZoneConfig source)
public SmartRoutingParameters getSmartRouting()
public void setSmartRouting(SmartRoutingParameters SmartRouting)
SmartRouting
- 智能加速配置。
注意:此字段可能返回 null,表示取不到有效值。public CacheConfigParameters getCache()
public void setCache(CacheConfigParameters Cache)
Cache
- 缓存过期时间配置。
注意:此字段可能返回 null,表示取不到有效值。public MaxAgeParameters getMaxAge()
public void setMaxAge(MaxAgeParameters MaxAge)
MaxAge
- 浏览器缓存配置。
注意:此字段可能返回 null,表示取不到有效值。public CacheKeyConfigParameters getCacheKey()
public void setCacheKey(CacheKeyConfigParameters CacheKey)
CacheKey
- 节点缓存键配置。
注意:此字段可能返回 null,表示取不到有效值。public CachePrefreshParameters getCachePrefresh()
public void setCachePrefresh(CachePrefreshParameters CachePrefresh)
CachePrefresh
- 缓存预刷新配置。
注意:此字段可能返回 null,表示取不到有效值。public OfflineCacheParameters getOfflineCache()
public void setOfflineCache(OfflineCacheParameters OfflineCache)
OfflineCache
- 离线缓存配置。
注意:此字段可能返回 null,表示取不到有效值。public CompressionParameters getCompression()
public void setCompression(CompressionParameters Compression)
Compression
- 智能压缩配置。
注意:此字段可能返回 null,表示取不到有效值。public ForceRedirectHTTPSParameters getForceRedirectHTTPS()
public void setForceRedirectHTTPS(ForceRedirectHTTPSParameters ForceRedirectHTTPS)
ForceRedirectHTTPS
- 访问协议强制 HTTPS 跳转配置。
注意:此字段可能返回 null,表示取不到有效值。public HSTSParameters getHSTS()
public void setHSTS(HSTSParameters HSTS)
HSTS
- HSTS 相关配置。
注意:此字段可能返回 null,表示取不到有效值。public TLSConfigParameters getTLSConfig()
public void setTLSConfig(TLSConfigParameters TLSConfig)
TLSConfig
- TLS 相关配置。
注意:此字段可能返回 null,表示取不到有效值。public OCSPStaplingParameters getOCSPStapling()
public void setOCSPStapling(OCSPStaplingParameters OCSPStapling)
OCSPStapling
- OCSP 装订配置。
注意:此字段可能返回 null,表示取不到有效值。public HTTP2Parameters getHTTP2()
public void setHTTP2(HTTP2Parameters HTTP2)
HTTP2
- HTTP2 相关配置。
注意:此字段可能返回 null,表示取不到有效值。public QUICParameters getQUIC()
public void setQUIC(QUICParameters QUIC)
QUIC
- QUIC 访问配置。
注意:此字段可能返回 null,表示取不到有效值。public UpstreamHTTP2Parameters getUpstreamHTTP2()
public void setUpstreamHTTP2(UpstreamHTTP2Parameters UpstreamHTTP2)
UpstreamHTTP2
- HTTP2 回源配置。
注意:此字段可能返回 null,表示取不到有效值。public IPv6Parameters getIPv6()
public void setIPv6(IPv6Parameters IPv6)
IPv6
- IPv6 访问配置。
注意:此字段可能返回 null,表示取不到有效值。public WebSocketParameters getWebSocket()
public void setWebSocket(WebSocketParameters WebSocket)
WebSocket
- WebSocket 配置。
注意:此字段可能返回 null,表示取不到有效值。public PostMaxSizeParameters getPostMaxSize()
public void setPostMaxSize(PostMaxSizeParameters PostMaxSize)
PostMaxSize
- POST 请求传输配置。
注意:此字段可能返回 null,表示取不到有效值。public ClientIPHeaderParameters getClientIPHeader()
public void setClientIPHeader(ClientIPHeaderParameters ClientIPHeader)
ClientIPHeader
- 客户端 IP 回源请求头配置。
注意:此字段可能返回 null,表示取不到有效值。public ClientIPCountryParameters getClientIPCountry()
public void setClientIPCountry(ClientIPCountryParameters ClientIPCountry)
ClientIPCountry
- 回源时是否携带客户端 IP 所属地域信息的配置。
注意:此字段可能返回 null,表示取不到有效值。public GrpcParameters getGrpc()
public void setGrpc(GrpcParameters Grpc)
Grpc
- gRPC 协议支持配置。
注意:此字段可能返回 null,表示取不到有效值。public AccelerateMainlandParameters getAccelerateMainland()
public void setAccelerateMainland(AccelerateMainlandParameters AccelerateMainland)
AccelerateMainland
- 中国大陆加速优化配置。
注意:此字段可能返回 null,表示取不到有效值。public StandardDebugParameters getStandardDebug()
public void setStandardDebug(StandardDebugParameters StandardDebug)
StandardDebug
- 标准 Debug 配置。
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2025. All rights reserved.