Class CreatePrefetchTaskRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.teo.v20220106.models.CreatePrefetchTaskRequest
-
public class CreatePrefetchTaskRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
getEncodeUrl()
Get 是否对url进行encode 若内容含有非 ASCII 字符集的字符,请开启此开关,编码转换(编码规则遵循 RFC3986)Header[]
getHeaders()
Get 附带的http头部信息String[]
getTargets()
Get 要预热的资源列表,每个元素格式类似如下: http://www.example.com/example.txtString
getZoneId()
Get Zone IDvoid
setEncodeUrl(Boolean EncodeUrl)
Set 是否对url进行encode 若内容含有非 ASCII 字符集的字符,请开启此开关,编码转换(编码规则遵循 RFC3986)void
setHeaders(Header[] Headers)
Set 附带的http头部信息void
setTargets(String[] Targets)
Set 要预热的资源列表,每个元素格式类似如下: http://www.example.com/example.txtvoid
setZoneId(String ZoneId)
Set Zone IDvoid
toMap(HashMap<String,String> map, String prefix)
Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
CreatePrefetchTaskRequest
public CreatePrefetchTaskRequest()
-
CreatePrefetchTaskRequest
public 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.
-
-
Method Detail
-
getZoneId
public String getZoneId()
Get Zone ID- Returns:
- ZoneId Zone ID
-
setZoneId
public void setZoneId(String ZoneId)
Set Zone ID- Parameters:
ZoneId
- Zone ID
-
getTargets
public String[] getTargets()
Get 要预热的资源列表,每个元素格式类似如下: http://www.example.com/example.txt- Returns:
- Targets 要预热的资源列表,每个元素格式类似如下: http://www.example.com/example.txt
-
setTargets
public void setTargets(String[] Targets)
Set 要预热的资源列表,每个元素格式类似如下: http://www.example.com/example.txt- Parameters:
Targets
- 要预热的资源列表,每个元素格式类似如下: http://www.example.com/example.txt
-
getEncodeUrl
public Boolean getEncodeUrl()
Get 是否对url进行encode 若内容含有非 ASCII 字符集的字符,请开启此开关,编码转换(编码规则遵循 RFC3986)- Returns:
- EncodeUrl 是否对url进行encode 若内容含有非 ASCII 字符集的字符,请开启此开关,编码转换(编码规则遵循 RFC3986)
-
setEncodeUrl
public void setEncodeUrl(Boolean EncodeUrl)
Set 是否对url进行encode 若内容含有非 ASCII 字符集的字符,请开启此开关,编码转换(编码规则遵循 RFC3986)- Parameters:
EncodeUrl
- 是否对url进行encode 若内容含有非 ASCII 字符集的字符,请开启此开关,编码转换(编码规则遵循 RFC3986)
-
getHeaders
public Header[] getHeaders()
Get 附带的http头部信息- Returns:
- Headers 附带的http头部信息
-
setHeaders
public void setHeaders(Header[] Headers)
Set 附带的http头部信息- Parameters:
Headers
- 附带的http头部信息
-
-