Class CreatePrefetchTaskRequest

    • 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头部信息。