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.
|
BandwidthAlert |
getBandwidthAlert()
Get Bandwidth cap configuration.
|
Cache |
getCache()
Get Cache rules 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 Access protocol forced redirect configuration.
|
Https |
getHttps()
Get HTTPS configuration.
|
IpFilter |
getIpFilter()
Get IP blocklist/allowlist configuration.
|
IpFreqLimit |
getIpFreqLimit()
Get IP access limit configuration.
|
MaxAge |
getMaxAge()
Get Browser cache rules configuration.
|
Origin |
getOrigin()
Get Origin server configuration.
|
OriginPullOptimization |
getOriginPullOptimization()
Get Cross-border optimization configuration.
|
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 |
setBandwidthAlert(BandwidthAlert BandwidthAlert)
Set Bandwidth cap configuration.
|
void |
setCache(Cache Cache)
Set Cache rules 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 Access protocol forced redirect configuration.
|
void |
setHttps(Https Https)
Set HTTPS configuration.
|
void |
setIpFilter(IpFilter IpFilter)
Set IP blocklist/allowlist configuration.
|
void |
setIpFreqLimit(IpFreqLimit IpFreqLimit)
Set IP access limit 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 |
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, toJsonString
public 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 rules configuration.
Note: this field may return null, indicating that no valid values can be obtained.public CacheKey getCacheKey()
public void setCacheKey(CacheKey CacheKey)
CacheKey
- Cache configurations.
Note: this field may return null, indicating that no valid values 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 values 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 values 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 values 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 values can be obtained.public ForceRedirect getForceRedirect()
public void setForceRedirect(ForceRedirect ForceRedirect)
ForceRedirect
- Access protocol forced redirect configuration.
Note: this field may return null, indicating that no valid values can be obtained.public Https getHttps()
public void setHttps(Https Https)
Https
- HTTPS configuration.
Note: this field may return null, indicating that no valid values 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 values can be obtained.public IpFreqLimit getIpFreqLimit()
public void setIpFreqLimit(IpFreqLimit IpFreqLimit)
IpFreqLimit
- IP access limit configuration.
Note: this field may return null, indicating that no valid values 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 values 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 values 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 values 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 values 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 values 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 values 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 values 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 values can be obtained.public Seo getSeo()
public void setSeo(Seo Seo)
Seo
- SEO configuration.
Note: this field may return null, indicating that no valid values can be obtained.public String getServiceType()
public void setServiceType(String ServiceType)
ServiceType
- Domain name service type. `web`: static acceleration; `download`: download acceleration; `media`: streaming media acceleration.
Note: this field may return null, indicating that no valid values 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 values 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 values can be obtained.Copyright © 2021. All rights reserved.