Class CreatePrefetchTaskRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.teo.v20220901.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.txt。 注意:提交任务数受计费套餐配额限制,请查看 [EO计费套餐](https://cloud.tencent.com/document/product/1552/77380)。String
getZoneId()
Get 站点 ID。void
setEncodeUrl(Boolean EncodeUrl)
Set 是否对url进行encode,若内容含有非 ASCII 字符集的字符,请开启此开关进行编码转换(编码规则遵循 RFC3986)。void
setHeaders(Header[] Headers)
Set 附带的http头部信息。void
setTargets(String[] Targets)
Set 要预热的资源列表,每个元素格式类似如下: http://www.example.com/example.txt。 注意:提交任务数受计费套餐配额限制,请查看 [EO计费套餐](https://cloud.tencent.com/document/product/1552/77380)。void
setZoneId(String ZoneId)
Set 站点 ID。void
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 站点 ID。- Returns:
- ZoneId 站点 ID。
-
setZoneId
public void setZoneId(String ZoneId)
Set 站点 ID。- Parameters:
ZoneId
- 站点 ID。
-
getTargets
public String[] getTargets()
Get 要预热的资源列表,每个元素格式类似如下: http://www.example.com/example.txt。 注意:提交任务数受计费套餐配额限制,请查看 [EO计费套餐](https://cloud.tencent.com/document/product/1552/77380)。- Returns:
- Targets 要预热的资源列表,每个元素格式类似如下: http://www.example.com/example.txt。 注意:提交任务数受计费套餐配额限制,请查看 [EO计费套餐](https://cloud.tencent.com/document/product/1552/77380)。
-
setTargets
public void setTargets(String[] Targets)
Set 要预热的资源列表,每个元素格式类似如下: http://www.example.com/example.txt。 注意:提交任务数受计费套餐配额限制,请查看 [EO计费套餐](https://cloud.tencent.com/document/product/1552/77380)。- Parameters:
Targets
- 要预热的资源列表,每个元素格式类似如下: http://www.example.com/example.txt。 注意:提交任务数受计费套餐配额限制,请查看 [EO计费套餐](https://cloud.tencent.com/document/product/1552/77380)。
-
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头部信息。
-
-