public class CreatePrefetchTaskRequest extends AbstractModel
| 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 Whether to encode a URL according to RFC3986. | 
| 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 Whether to encode a URL according to RFC3986. | 
| 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, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonStringpublic CreatePrefetchTaskRequest()
public CreatePrefetchTaskRequest(CreatePrefetchTaskRequest source)
public String getZoneId()
public void setZoneId(String ZoneId)
ZoneId - ID of the site.public 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 - Whether to encode a URL according to RFC3986. Enable this field when the URL contains non-ASCII characters.public Header[] getHeaders()
public void setHeaders(Header[] Headers)
Headers - HTTP header informationCopyright © 2022. All rights reserved.