public class MainlandConfig extends AbstractModel
| Constructor and Description | 
|---|
| MainlandConfig() | 
| MainlandConfig(MainlandConfig 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 | 
|---|---|
| Authentication | getAuthentication()Get Timestamp hotlink protection configuration. | 
| AwsPrivateAccess | getAwsPrivateAccess()Get Access authentication for S3 origin
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| BandwidthAlert | getBandwidthAlert()Get Bandwidth cap configuration. | 
| Cache | getCache()Get Cache rule configuration. | 
| CacheKey | getCacheKey()Get Cache configurations. | 
| Compression | getCompression()Get Smart compression configuration. | 
| DownstreamCapping | getDownstreamCapping()Get Download speed limit configuration. | 
| ErrorPage | getErrorPage()Get Error code redirect configuration. | 
| FollowRedirect | getFollowRedirect()Get 301 and 302 automatic origin-pull follow-redirect configuration. | 
| ForceRedirect | getForceRedirect()Get Force redirect by access protocol. | 
| Https | getHttps()Get HTTPS configuration. | 
| HwPrivateAccess | getHwPrivateAccess()Get Access authentication for Huawei Cloud OBS origin
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| IpFilter | getIpFilter()Get IP blocklist/allowlist configuration. | 
| IpFreqLimit | getIpFreqLimit()Get IP access limiting configuration. | 
| MaxAge | getMaxAge()Get Browser cache rules configuration. | 
| Origin | getOrigin()Get Origin server configuration. | 
| OriginPullOptimization | getOriginPullOptimization()Get Cross-border optimization configuration. | 
| OssPrivateAccess | getOssPrivateAccess()Get Access authentication for OSS origin
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| QnPrivateAccess | getQnPrivateAccess()Get Access authentication for QiNiu Cloud Kodo origin
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| RangeOriginPull | getRangeOriginPull()Get Range GETs configuration. | 
| Referer | getReferer()Get Hotlink protection configuration. | 
| RequestHeader | getRequestHeader()Get Origin-pull request header configuration. | 
| ResponseHeader | getResponseHeader()Get Origin server response header configuration. | 
| ResponseHeaderCache | getResponseHeaderCache()Get Follows origin server cache header configuration. | 
| Seo | getSeo()Get SEO configuration. | 
| String | getServiceType()Get Domain name service type. | 
| StatusCodeCache | getStatusCodeCache()Get Status code cache configuration. | 
| VideoSeek | getVideoSeek()Get Video dragging configuration. | 
| void | setAuthentication(Authentication Authentication)Set Timestamp hotlink protection configuration. | 
| void | setAwsPrivateAccess(AwsPrivateAccess AwsPrivateAccess)Set Access authentication for S3 origin
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| void | setBandwidthAlert(BandwidthAlert BandwidthAlert)Set Bandwidth cap configuration. | 
| void | setCache(Cache Cache)Set Cache rule configuration. | 
| void | setCacheKey(CacheKey CacheKey)Set Cache configurations. | 
| void | setCompression(Compression Compression)Set Smart compression configuration. | 
| void | setDownstreamCapping(DownstreamCapping DownstreamCapping)Set Download speed limit configuration. | 
| void | setErrorPage(ErrorPage ErrorPage)Set Error code redirect configuration. | 
| void | setFollowRedirect(FollowRedirect FollowRedirect)Set 301 and 302 automatic origin-pull follow-redirect configuration. | 
| void | setForceRedirect(ForceRedirect ForceRedirect)Set Force redirect by access protocol. | 
| void | setHttps(Https Https)Set HTTPS configuration. | 
| void | setHwPrivateAccess(HwPrivateAccess HwPrivateAccess)Set Access authentication for Huawei Cloud OBS origin
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| void | setIpFilter(IpFilter IpFilter)Set IP blocklist/allowlist configuration. | 
| void | setIpFreqLimit(IpFreqLimit IpFreqLimit)Set IP access limiting configuration. | 
| void | setMaxAge(MaxAge MaxAge)Set Browser cache rules configuration. | 
| void | setOrigin(Origin Origin)Set Origin server configuration. | 
| void | setOriginPullOptimization(OriginPullOptimization OriginPullOptimization)Set Cross-border optimization configuration. | 
| void | setOssPrivateAccess(OssPrivateAccess OssPrivateAccess)Set Access authentication for OSS origin
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| void | setQnPrivateAccess(QnPrivateAccess QnPrivateAccess)Set Access authentication for QiNiu Cloud Kodo origin
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| void | setRangeOriginPull(RangeOriginPull RangeOriginPull)Set Range GETs configuration. | 
| void | setReferer(Referer Referer)Set Hotlink protection configuration. | 
| void | setRequestHeader(RequestHeader RequestHeader)Set Origin-pull request header configuration. | 
| void | setResponseHeader(ResponseHeader ResponseHeader)Set Origin server response header configuration. | 
| void | setResponseHeaderCache(ResponseHeaderCache ResponseHeaderCache)Set Follows origin server cache header configuration. | 
| void | setSeo(Seo Seo)Set SEO configuration. | 
| void | setServiceType(String ServiceType)Set Domain name service type. | 
| void | setStatusCodeCache(StatusCodeCache StatusCodeCache)Set Status code cache configuration. | 
| void | setVideoSeek(VideoSeek VideoSeek)Set Video dragging configuration. | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonStringpublic MainlandConfig()
public MainlandConfig(MainlandConfig source)
public Authentication getAuthentication()
public void setAuthentication(Authentication Authentication)
Authentication - Timestamp hotlink protection configuration.
Note: this field may return `null`, indicating that no valid values can be obtained.public BandwidthAlert getBandwidthAlert()
public void setBandwidthAlert(BandwidthAlert BandwidthAlert)
BandwidthAlert - Bandwidth cap configuration.
Note: this field may return `null`, indicating that no valid values can be obtained.public Cache getCache()
public void setCache(Cache Cache)
Cache - Cache rule configuration.
Note: This field may return `null`, indicating that no valid value can be obtained.public CacheKey getCacheKey()
public void setCacheKey(CacheKey CacheKey)
CacheKey - Cache configurations.
Note: This field may return `null`, indicating that no valid value can be obtained.public Compression getCompression()
public void setCompression(Compression Compression)
Compression - Smart compression configuration.
Note: This field may return `null`, indicating that no valid value can be obtained.public DownstreamCapping getDownstreamCapping()
public void setDownstreamCapping(DownstreamCapping DownstreamCapping)
DownstreamCapping - Download speed limit configuration.
Note: This field may return `null`, indicating that no valid value can be obtained.public ErrorPage getErrorPage()
public void setErrorPage(ErrorPage ErrorPage)
ErrorPage - Error code redirect configuration.
Note: This field may return `null`, indicating that no valid value can be obtained.public FollowRedirect getFollowRedirect()
public void setFollowRedirect(FollowRedirect FollowRedirect)
FollowRedirect - 301 and 302 automatic origin-pull follow-redirect configuration.
Note: This field may return `null`, indicating that no valid value can be obtained.public ForceRedirect getForceRedirect()
public void setForceRedirect(ForceRedirect ForceRedirect)
ForceRedirect - Force redirect by access protocol.
Note: This field may return `null`, indicating that no valid value can be obtained.public Https getHttps()
public void setHttps(Https Https)
Https - HTTPS configuration.
Note: This field may return `null`, indicating that no valid value can be obtained.public IpFilter getIpFilter()
public void setIpFilter(IpFilter IpFilter)
IpFilter - IP blocklist/allowlist configuration.
Note: This field may return `null`, indicating that no valid value can be obtained.public IpFreqLimit getIpFreqLimit()
public void setIpFreqLimit(IpFreqLimit IpFreqLimit)
IpFreqLimit - IP access limiting configuration.
Note: This field may return `null`, indicating that no valid value can be obtained.public MaxAge getMaxAge()
public void setMaxAge(MaxAge MaxAge)
MaxAge - Browser cache rules configuration.
Note: This field may return `null`, indicating that no valid value can be obtained.public Origin getOrigin()
public void setOrigin(Origin Origin)
Origin - Origin server configuration.
Note: This field may return `null`, indicating that no valid value can be obtained.public OriginPullOptimization getOriginPullOptimization()
public void setOriginPullOptimization(OriginPullOptimization OriginPullOptimization)
OriginPullOptimization - Cross-border optimization configuration.
Note: This field may return `null`, indicating that no valid value can be obtained.public RangeOriginPull getRangeOriginPull()
public void setRangeOriginPull(RangeOriginPull RangeOriginPull)
RangeOriginPull - Range GETs configuration.
Note: This field may return `null`, indicating that no valid value can be obtained.public Referer getReferer()
public void setReferer(Referer Referer)
Referer - Hotlink protection configuration.
Note: This field may return `null`, indicating that no valid value can be obtained.public RequestHeader getRequestHeader()
public void setRequestHeader(RequestHeader RequestHeader)
RequestHeader - Origin-pull request header configuration.
Note: This field may return `null`, indicating that no valid value can be obtained.public ResponseHeader getResponseHeader()
public void setResponseHeader(ResponseHeader ResponseHeader)
ResponseHeader - Origin server response header configuration.
Note: This field may return `null`, indicating that no valid value can be obtained.public ResponseHeaderCache getResponseHeaderCache()
public void setResponseHeaderCache(ResponseHeaderCache ResponseHeaderCache)
ResponseHeaderCache - Follows origin server cache header configuration.
Note: This field may return `null`, indicating that no valid value can be obtained.public Seo getSeo()
public void setSeo(Seo Seo)
Seo - SEO configuration.
Note: This field may return `null`, indicating that no valid value can be obtained.public String getServiceType()
public void setServiceType(String ServiceType)
ServiceType - Domain name service type. Values: `web` (static acceleration); `download` (download acceleration); `media` (streaming media acceleration).
Note: This field may return `null`, indicating that no valid value can be obtained.public StatusCodeCache getStatusCodeCache()
public void setStatusCodeCache(StatusCodeCache StatusCodeCache)
StatusCodeCache - Status code cache configuration.
Note: This field may return `null`, indicating that no valid value can be obtained.public VideoSeek getVideoSeek()
public void setVideoSeek(VideoSeek VideoSeek)
VideoSeek - Video dragging configuration.
Note: This field may return `null`, indicating that no valid value can be obtained.public AwsPrivateAccess getAwsPrivateAccess()
public void setAwsPrivateAccess(AwsPrivateAccess AwsPrivateAccess)
AwsPrivateAccess - Access authentication for S3 origin
Note: This field may return `null`, indicating that no valid value can be obtained.public OssPrivateAccess getOssPrivateAccess()
public void setOssPrivateAccess(OssPrivateAccess OssPrivateAccess)
OssPrivateAccess - Access authentication for OSS origin
Note: This field may return `null`, indicating that no valid value can be obtained.public HwPrivateAccess getHwPrivateAccess()
public void setHwPrivateAccess(HwPrivateAccess HwPrivateAccess)
HwPrivateAccess - Access authentication for Huawei Cloud OBS origin
Note: This field may return `null`, indicating that no valid value can be obtained.public QnPrivateAccess getQnPrivateAccess()
public void setQnPrivateAccess(QnPrivateAccess QnPrivateAccess)
QnPrivateAccess - Access authentication for QiNiu Cloud Kodo origin
Note: This field may return `null`, indicating that no valid value can be obtained.Copyright © 2022. All rights reserved.