public class CreatePrefetchTaskRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
CreatePrefetchTaskRequest() |
CreatePrefetchTaskRequest(CreatePrefetchTaskRequest 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 |
---|---|
Boolean |
getEncodeUrl()
Get Specifies whether to encode the URL
Note that if it’s enabled, the purging is based on the converted URLs.
|
Header[] |
getHeaders()
Get HTTP header information
|
String[] |
getTargets()
Get List of resources to be pre-warmed, for example:
http://www.example.com/example.txt
|
String |
getZoneId()
Get ID of the site
|
void |
setEncodeUrl(Boolean EncodeUrl)
Set Specifies whether to encode the URL
Note that if it’s enabled, the purging is based on the converted URLs.
|
void |
setHeaders(Header[] Headers)
Set HTTP header information
|
void |
setTargets(String[] Targets)
Set List of resources to be pre-warmed, for example:
http://www.example.com/example.txt
|
void |
setZoneId(String ZoneId)
Set ID of the site
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public CreatePrefetchTaskRequest()
public CreatePrefetchTaskRequest(CreatePrefetchTaskRequest source)
public String getZoneId()
public void setZoneId(String ZoneId)
ZoneId
- ID of the sitepublic String[] getTargets()
public void setTargets(String[] Targets)
Targets
- List of resources to be pre-warmed, for example:
http://www.example.com/example.txtpublic Boolean getEncodeUrl()
public void setEncodeUrl(Boolean EncodeUrl)
EncodeUrl
- Specifies whether to encode the URL
Note that if it’s enabled, the purging is based on the converted URLs.public Header[] getHeaders()
public void setHeaders(Header[] Headers)
Headers
- HTTP header informationCopyright © 2024. All rights reserved.