public class PushUrlsCacheRequest extends AbstractModel
Constructor and Description |
---|
PushUrlsCacheRequest() |
Modifier and Type | Method and Description |
---|---|
String |
getArea()
Get Destination region for the prefetch
`mainland`: prefetches resources to nodes within Mainland China
`overseas`: prefetches resources to nodes outside Mainland China
`global`: prefetches resources to global nodes
Default value: `mainland`.
|
String |
getLayer()
Get If this parameter is `middle` or left empty, prefetch will be performed onto the intermediate node
|
String[] |
getUrls()
Get List of URLs.
|
String |
getUserAgent()
Get Specifies the User-Agent header of an HTTP prefetch request when it is forwarded to the origin server
Default value: `TencentCdn`
|
void |
setArea(String Area)
Set Destination region for the prefetch
`mainland`: prefetches resources to nodes within Mainland China
`overseas`: prefetches resources to nodes outside Mainland China
`global`: prefetches resources to global nodes
Default value: `mainland`.
|
void |
setLayer(String Layer)
Set If this parameter is `middle` or left empty, prefetch will be performed onto the intermediate node
|
void |
setUrls(String[] Urls)
Set List of URLs.
|
void |
setUserAgent(String UserAgent)
Set Specifies the User-Agent header of an HTTP prefetch request when it is forwarded to the origin server
Default value: `TencentCdn`
|
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 String[] getUrls()
public void setUrls(String[] Urls)
Urls
- List of URLs. The protocol header such as "http://" or "https://" needs to be included.public String getUserAgent()
public void setUserAgent(String UserAgent)
UserAgent
- Specifies the User-Agent header of an HTTP prefetch request when it is forwarded to the origin server
Default value: `TencentCdn`public String getArea()
public void setArea(String Area)
Area
- Destination region for the prefetch
`mainland`: prefetches resources to nodes within Mainland China
`overseas`: prefetches resources to nodes outside Mainland China
`global`: prefetches resources to global nodes
Default value: `mainland`. You can prefetch a URL to nodes in a region provided that CDN service has been enabled for the domain name in the URL in the region.public String getLayer()
public void setLayer(String Layer)
Layer
- If this parameter is `middle` or left empty, prefetch will be performed onto the intermediate nodeCopyright © 2020. All rights reserved.