public class CreatePrefetchTaskRequest extends AbstractModel
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 Whether to encode a URL according to RFC3986.
|
Header[] |
getHeaders()
Get HTTP header information
|
String[] |
getTargets()
Get Resources to be pre-warmed, for example:
http://www.example.com/example.txt
Note: The number of submitted tasks is limited by the quota of the plan.
|
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 Resources to be pre-warmed, for example:
http://www.example.com/example.txt
Note: The number of submitted tasks is limited by the quota of the plan.
|
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, getSkipSign, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public 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
- Resources to be pre-warmed, for example:
http://www.example.com/example.txt
Note: The number of submitted tasks is limited by the quota of the plan. For details, see [Billing Overview](https://intl.cloud.tencent.com/document/product/1552/77380?from_cn_redirect=1).public 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 © 2023. All rights reserved.