类 CdnClient


  • public class CdnClient
    extends AbstractBceClient
    Client for accessing CDN Services. Created by sunyixing on 2016/1/9. Update by changxing01 on 2019/10/15
    • 构造器详细资料

      • CdnClient

        public CdnClient()
        Constructs a new Document client to invoke service methods on CDN.
      • CdnClient

        public CdnClient​(BceClientConfiguration clientConfiguration)
        Constructs a new client using the client configuration to access CDN services.
        参数:
        clientConfiguration - The client configuration options controlling how this client connects to Document services (e.g. proxy settings, retry counts, etc).
    • 方法详细资料

      • createDomain

        public CreateDomainResponse createDomain​(CreateDomainRequest request)
        Create a new domain acceleration.
        参数:
        request - The request containing user-defined domain information.
        返回:
        Result of the createDomain operation returned by the service.
      • enableDomain

        public void enableDomain​(String domain)
        Enable an existing domain acceleration.
        参数:
        domain - The specified domain name.
      • enableDomain

        public EnableDomainResponse enableDomain​(EnableDomainRequest request)
        Enable an existing domain acceleration.
        参数:
        request - The request containing user-defined domain information.
        返回:
        Result of the enableDomain operation returned by the service.
      • disableDomain

        public void disableDomain​(String domain)
        Disable an existing domain acceleration.
        参数:
        domain - Name of the domain.
      • disableDomain

        public DisableDomainResponse disableDomain​(DisableDomainRequest request)
        Disable an existing domain acceleration.
        参数:
        request - The request containing user-defined domain information.
        返回:
        Result of the disableDomain operation returned by the service.
      • deleteDomain

        public void deleteDomain​(String domain)
        Delete an existing domain acceleration.
        参数:
        domain - Name of the domain.
      • deleteDomain

        public CommonResponse deleteDomain​(DeleteDomainRequest request)
        Delete an existing domain acceleration
        参数:
        request - The request containing user-defined domain information.
        返回:
        Result of the deleteDomain operation returned by the service.
      • listDomains

        public ListDomainsResponse listDomains()
        Returns a list of all CDN domains that the authenticated sender of the request owns.
        返回:
        All of the CDN domains owned by the authenticated sender of the request.
      • listDomains

        public ListDomainsResponse listDomains​(ListDomainsRequest request)
        Returns a list of all CDN domains that the authenticated sender of the request owns.
        参数:
        request - The request containing all of the options related to the listing of domains.
        返回:
        All of the CDN domains owned by the authenticated sender of the request.
      • getUserDomains

        public GetUserDomainResponse getUserDomains​(String status)
        Return a list of user's all CDN domains that include domain and domain status support domain name fuzzy matching filter and domain status filter
        参数:
        status - search domain status (ALL | RUNNING | STOPPED | OPERATING)
        返回:
        a list of user's all CDN domains thats filter by status
      • getUserDomains

        public GetUserDomainResponse getUserDomains​(GetUserDomainsRequest request)
        Return a list of user's all CDN domains that include domain and domain status support domain name fuzzy matching filter and domain status filter
        参数:
        request - The request containing all of the options related to the listing of domains.
        返回:
        a list of user's all CDN domains thats filter by status and rule
      • checkDomainValid

        public CheckDomainValidResponse checkDomainValid​(String domain)
        Query whether the domain name can be added
        参数:
        domain - check domain
        返回:
        the result of check that include isValid and fail message
      • checkDomainValid

        public CheckDomainValidResponse checkDomainValid​(DomainMiddleRequest request)
        Query whether the domain name can be added
        参数:
        request - The request containing check parameter domain.
        返回:
        the result of check that include isValid and fail message
      • getDomainConfig

        public GetDomainConfigResponse getDomainConfig​(String domain)
        Get detailed information of a domain.
        参数:
        domain - Name of the domain.
        返回:
        getDomainConfig of the getDomainConfig operation returned by the service.
      • getDomainConfig

        public GetDomainConfigResponse getDomainConfig​(GetDomainConfigRequest request)
        Get detailed information of a domain.
        参数:
        request - The request containing all of the options related to the domain.
        返回:
        getDomainConfig of the getDomainConfig operation returned by the service.
      • setDomainOrigin

        public void setDomainOrigin​(String domain,
                                    String peer)
        Update origin of specified domain acceleration.
        参数:
        domain - Name of the domain.
        peer - The peer address of new origin.
      • setDomainOrigin

        public CommonResponse setDomainOrigin​(SetDomainOriginRequest request)
        Update origin of specified domain acceleration.
        参数:
        request - The request containing all of the options related to the domain.
        返回:
        Result of the setDomainOrigin operation returned by the service.
      • setDomainFollowProtocol

        public CommonResponse setDomainFollowProtocol​(String domain,
                                                      boolean followProtocol)
        The configuration protocol follows back to the source
        参数:
        domain - Name of the domain.
        followProtocol - Whether the back source protocol is consistent with the request protocol
        返回:
        Result of the setDomainFollowProtocol operation returned by the service.
      • setDomainFollowProtocol

        public CommonResponse setDomainFollowProtocol​(SetDomainFollowProtocolRequest request)
        The configuration protocol follows back to the source
        参数:
        request - The request containing all of the options related to the update request.
        返回:
        Result of the setDomainFollowProtocol operation returned by the service.
      • setDomainRangeSwitch

        public CommonResponse setDomainRangeSwitch​(String domain,
                                                   boolean rangeSwitch)
        Update RangeSwitch of specified domain acceleration.
        参数:
        domain - domain's name
        rangeSwitch - The request containing all of the options related to the domain.
        返回:
        Result of the setDomainRangeSwitch operation returned by the service.
      • setDomainRangeSwitch

        public CommonResponse setDomainRangeSwitch​(SetDomainRangeSwitchRequest request)
        Update RangeSwitch of specified domain acceleration.
        参数:
        request - The request containing all of the options related to the domain.
        返回:
        Result of the setDomainRangeSwitch operation returned by the service.
      • getDomainRangeSwitch

        public GetDomainRangeSwitchResponse getDomainRangeSwitch​(String domain)
        Get RangeSwitch of specified domain acceleration.
        参数:
        domain - Name of the domain.
        返回:
        Detailed information about domain rangeSwitch.
      • getDomainRangeSwitch

        public GetDomainRangeSwitchResponse getDomainRangeSwitch​(DomainMiddleRequest request)
        Get RangeSwitch of specified domain acceleration.
        参数:
        request - The request containing all of the options related to the domain.
        返回:
        Detailed information about domain rangeSwitch.
      • setDomainMobileAccess

        public CommonResponse setDomainMobileAccess​(SetDomainMobileAccessRequest request)
        Update MobileAccess of specified domain acceleration.
        参数:
        request - The request containing all of the options related to the domain.
        返回:
        Result of the setDomainMobileAccess operation returned by the service.
      • getDomainMobileAccess

        public GetDomainMobileAccessResponse getDomainMobileAccess​(String domain)
        Get MobileAccess of specified domain acceleration.
        参数:
        domain - Name of the domain.
        返回:
        Detailed information about domain MobileAccess.
      • getDomainMobileAccess

        public GetDomainMobileAccessResponse getDomainMobileAccess​(DomainMiddleRequest request)
        Get MobileAccess of specified domain acceleration.
        参数:
        request - The request containing all of the options related to the domain.
        返回:
        Detailed information about domain MobileAccess.
      • setDomainHttpHeader

        public CommonResponse setDomainHttpHeader​(SetDomainHttpHeaderRequest request)
        Update HttpHeader of specified domain acceleration.
        参数:
        request - The request containing all of the options related to the domain.
        返回:
        Result of the setDomainHttpHeader operation returned by the service.
      • getDomainHttpHeader

        public GetDomainHttpHeaderResponse getDomainHttpHeader​(String domain)
        Get HttpHeader of specified domain acceleration.
        参数:
        domain - Name of the domain.
        返回:
        Detailed information about domain HttpHeader.
      • getDomainHttpHeader

        public GetDomainHttpHeaderResponse getDomainHttpHeader​(DomainMiddleRequest request)
        Get HttpHeader of specified domain acceleration.
        参数:
        request - The request containing all of the options related to the domain.
        返回:
        Detailed information about domain HttpHeader.
      • setDomainSeoSwitch

        public CommonResponse setDomainSeoSwitch​(SetDomainSeoSwitchRequest request)
        Update SeoSwitch of specified domain acceleration.
        参数:
        request - The request containing all of the options related to the domain.
        返回:
        Result of the setDomainSeoSwitch operation returned by the service.
      • setDomainOCSPSwitch

        public CommonResponse setDomainOCSPSwitch​(SetDomainOCSPRequest request)
        Update OCSP of specified domain acceleration.
        参数:
        request - domain and switch
        返回:
      • getDomainOCSPSwitch

        public GetDomainOCSPSwitchResponse getDomainOCSPSwitch​(DomainMiddleRequest request)
        Get ipv6Dispatch config information of specified domain acceleration.
        参数:
        request - The request containing all of the options related to the domain.
        返回:
        Result of the getDomainClientIp operation returned by the service.
      • getDomainQUICSwitch

        public GetDomainQUICSwitchResponse getDomainQUICSwitch​(DomainMiddleRequest request)
        Get ipv6Dispatch config information of specified domain acceleration.
        参数:
        request - The request containing all of the options related to the domain.
        返回:
        Result of the getDomainClientIp operation returned by the service.
      • getDomainOfflineModeSwitch

        public GetDomainOfflineModeSwitchResponse getDomainOfflineModeSwitch​(DomainMiddleRequest request)
        Get OfflineMode config information of specified domain acceleration.
        参数:
        request - The request containing all of the options related to the domain.
        返回:
        Result of the getDomainClientIp operation returned by the service.
      • getDomainSeoSwitch

        public GetDomainSeoSwitchResponse getDomainSeoSwitch​(String domain)
        Get SeoSwitch of specified domain acceleration.
        参数:
        domain - Name of the domain.
        返回:
        Detailed information about domain SeoSwitch.
      • getDomainCert

        public GetDomainCertResponse getDomainCert​(DomainMiddleRequest request)
        Get Domain Cert detail information of specified domain acceleration.
        参数:
        request - The request containing all of the options related to the domain.
        返回:
        Result of the getDomainClientIp operation returned by the service.
      • setDomainHSTS

        public CommonResponse setDomainHSTS​(String domain,
                                            SetDomainHSTSRequest request)
        Update HSTS rules of specified domain acceleration.
        参数:
        domain - domain
        request - The request containing all of the options related to the update request.
        返回:
        Result of the setDomainHSTS operation returned by the service.
      • getDomainHSTS

        public GetDomainHSTSResponse getDomainHSTS​(DomainMiddleRequest request)
        Get ipv6Dispatch config information of specified domain acceleration.
        参数:
        request - The request containing all of the options related to the domain.
        返回:
        Result of the getDomainClientIp operation returned by the service.
      • getDomainIPv6Dispatch

        public GetDomainIPv6DispatchResponse getDomainIPv6Dispatch​(DomainMiddleRequest request)
        Get ipv6Dispatch config information of specified domain acceleration.
        参数:
        request - The request containing all of the options related to the domain.
        返回:
        Result of the getDomainClientIp operation returned by the service.
      • getDomainCacheShare

        public GetDomainCacheShareResponse getDomainCacheShare​(DomainMiddleRequest request)
        Get cache share config information of specified domain acceleration.
        参数:
        request - The request containing all of the options related to the domain.
        返回:
        Result of the getDomainClientIp operation returned by the service.
      • getDomainSeoSwitch

        public GetDomainSeoSwitchResponse getDomainSeoSwitch​(DomainMiddleRequest request)
        Get SeoSwitch of specified domain acceleration.
        参数:
        request - The request containing all of the options related to the domain.
        返回:
        Detailed information about domain SeoSwitch.
      • setDomainFileTrim

        public void setDomainFileTrim​(String domain,
                                      boolean fileTrim)
        Update FileTrim of specified domain acceleration.
        参数:
        domain - Name of the domain.
        fileTrim - Whether to enable page optimization
      • setDomainFileTrim

        public CommonResponse setDomainFileTrim​(SetDomainFileTrimRequest request)
        Update FileTrim of specified domain acceleration.
        参数:
        request - The request containing all of the options related to the domain.
        返回:
        Result of the setDomainFileTrim operation returned by the service.
      • getDomainFileTrim

        public GetDomainFileTrimResponse getDomainFileTrim​(String domain)
        Get FileTrim of specified domain acceleration.
        参数:
        domain - Name of the domain.
        返回:
        Detailed information about domain FileTrim.
      • getDomainFileTrim

        public GetDomainFileTrimResponse getDomainFileTrim​(DomainMiddleRequest request)
        Get FileTrim of specified domain acceleration.
        参数:
        request - The request containing all of the options related to the domain.
        返回:
        Detailed information about domain FileTrim.
      • setDomainMediaDrag

        public CommonResponse setDomainMediaDrag​(SetDomainMediaDragRequest request)
        Update MediaDrag of specified domain acceleration.
        参数:
        request - The request containing all of the options related to the domain.
        返回:
        Result of the setDomainMediaDrag operation returned by the service.
      • getDomainMediaDrag

        public GetDomainMediaDragResponse getDomainMediaDrag​(String domain)
        Get MediaDrag of specified domain acceleration.
        参数:
        domain - Name of the domain.
        返回:
        Detailed information about domain MediaDrag.
      • getDomainMediaDrag

        public GetDomainMediaDragResponse getDomainMediaDrag​(DomainMiddleRequest request)
        Get MediaDrag of specified domain acceleration.
        参数:
        request - The request containing all of the options related to the domain.
        返回:
        Detailed information about domain MediaDrag.
      • setDomainCompress

        public CommonResponse setDomainCompress​(SetDomainCompressRequest request)
        Update Compress of specified domain acceleration.
        参数:
        request - The request containing all of the options related to the domain.
        返回:
        Result of the setDomainCompress operation returned by the service.
      • getDomainCompress

        public GetDomainCompressResponse getDomainCompress​(String domain)
        Get Compress of specified domain acceleration.
        参数:
        domain - Name of the domain.
        返回:
        Detailed information about domain Compress.
      • getDomainCompress

        public GetDomainCompressResponse getDomainCompress​(DomainMiddleRequest request)
        Get Compress of specified domain acceleration.
        参数:
        request - The request containing all of the options related to the domain.
        返回:
        Detailed information about domain Compress.
      • getDomainCacheTTL

        public GetDomainCacheTTLResponse getDomainCacheTTL​(String domain)
        Get cache policies of specified domain acceleration.
        参数:
        domain - Name of the domain.
        返回:
        Detailed information about cache policies.
      • getDomainCacheTTL

        public GetDomainCacheTTLResponse getDomainCacheTTL​(GetDomainCacheTTLRequest request)
        Get cache policies of specified domain acceleration.
        参数:
        request - The request containing all of the options related to the domain.
        返回:
        Detailed information about cache policies.
      • setDomainCacheTTL

        public SetDomainCacheTTLResponse setDomainCacheTTL​(SetDomainCacheTTLRequest request)
        Update cache policies of specified domain acceleration.
        参数:
        request - The request containing all of the options related to the update request.
        返回:
        Result of the setDomainCacheTTL operation returned by the service.
      • getDomainRetryOrigin

        public GetDomainRetryOriginResponse getDomainRetryOrigin​(DomainMiddleRequest request)
        Get retry origin config information of specified domain acceleration.
        参数:
        request - The request containing all of the options related to the domain.
        返回:
        Result of the getDomainClientIp operation returned by the service.
      • setDomainCacheFullUrl

        public void setDomainCacheFullUrl​(String domain,
                                          boolean setting)
        Update cache policy of specified domain acceleration.
        参数:
        domain - Name of the domain.
        setting - For true, treat the full URL as unique cache id, otherwise ignore query string parameters.
      • setDomainCacheFullUrl

        public CommonResponse setDomainCacheFullUrl​(SetDomainCacheFullUrlRequest request)
        Update cache policy of specified domain acceleration.
        参数:
        request - The request containing all of the options related to the update request.
        返回:
        Result of the setDomainCacheFullUrl operation returned by the service.
      • getDomainCacheFullUrl

        public GetDomainCacheFullUrlResponse getDomainCacheFullUrl​(String domain)
        search domain's rule of caching filter parameter
        参数:
        domain - Name of the domain.
        返回:
        domain's rule of cache filter parameter
      • getDomainCacheFullUrl

        public GetDomainCacheFullUrlResponse getDomainCacheFullUrl​(DomainMiddleRequest request)
        search domain's rule of caching filter parameter
        参数:
        request - The request containing all of the options related to the get cache full url request.
        返回:
        domain's rule of cache filter parameter
      • setDomainErrorPage

        public CommonResponse setDomainErrorPage​(SetDomainErrorPageRequest request)
        add website error page to deal with exception.
        参数:
        request - The request containing all of the options related to the set request.
        返回:
        Result of the setDomainErrorPage operation returned by the service.
      • getDomainErrorPage

        public GetDomainErrorPageResponse getDomainErrorPage​(String domain)
        search domain's custom error page
        参数:
        domain - Name of the domain.
        返回:
        custom error page info list
      • getDomainErrorPage

        public GetDomainErrorPageResponse getDomainErrorPage​(DomainMiddleRequest request)
        search domain's custom error page
        参数:
        request - The request containing all of the options related to the get error page request.
        返回:
        custom error page info list
      • setDomainRefererACL

        public CommonResponse setDomainRefererACL​(SetDomainRefererACLRequest request)
        Update RefererACL rules of specified domain acceleration.
        参数:
        request - The request containing all of the options related to the update request.
        返回:
        Result of the setDomainRefererACL operation returned by the service.
      • getDomainRefererACL

        public GetDomainRefererACLResponse getDomainRefererACL​(String domain)
        Get RefererACL rules of specified domain acceleration.
        参数:
        domain - The request containing all of the options related to the get refererACL.
        返回:
        Result of the getDomainRefererACL operation returned by the service.
      • getDomainRefererACL

        public GetDomainRefererACLResponse getDomainRefererACL​(DomainMiddleRequest request)
        Get RefererACL rules of specified domain acceleration.
        参数:
        request - The request containing all of the options related to the get refererACL.
        返回:
        Result of the getDomainRefererACL operation returned by the service.
      • setDomainIpACL

        public CommonResponse setDomainIpACL​(SetDomainIpACLRequest request)
        Update IpACL rules of specified domain acceleration.
        参数:
        request - The request containing all of the options related to the update request.
        返回:
        Result of the setDomainIpACL operation returned by the service.
      • getDomainIpACL

        public GetDomainIpACLResponse getDomainIpACL​(String domain)
        Get IpACL rules of specified domain acceleration.
        参数:
        domain - The request containing all of the options related to the get IpACL.
        返回:
        Result of the getDomainIpACL operation returned by the service.
      • getDomainIpACL

        public GetDomainIpACLResponse getDomainIpACL​(DomainMiddleRequest request)
        Get IpACL rules of specified domain acceleration.
        参数:
        request - The request containing all of the options related to the Get IpACL.
        返回:
        Result of the getDomainIpACL operation returned by the service.
      • setDomainLimitRate

        public void setDomainLimitRate​(String domain,
                                       int limitRate)
        Set the rate limit of specified domain acceleration.
        参数:
        domain - Name of the domain.
        limitRate - The limit of downloading rate, in Bytes/s.
      • setDomainLimitRate

        public CommonResponse setDomainLimitRate​(SetDomainLimitRateRequest request)
        Set the rate limit of specified domain acceleration.
        参数:
        request - The request containing all of the options related to the update request.
        返回:
        Result of the setDomainLimitRate operation returned by the service.
      • setDomainTrafficLimit

        public CommonResponse setDomainTrafficLimit​(SetDomainTrafficLimitRequest request)
        Set the traffic limit of specified domain acceleration. each response to client
        参数:
        request -
        返回:
      • getDomainTrafficLimit

        public GetDomainTrafficLimitResponse getDomainTrafficLimit​(String domain)
        Get trafficLimit of specified domain acceleration. for each response
        参数:
        domain -
        返回:
      • getDomainUaAcl

        public GetDomainUaAclResponse getDomainUaAcl​(String domain)
        Get UA ACL of specified domain acceleration.
        参数:
        domain -
        返回:
      • setDomainCors

        public CommonResponse setDomainCors​(SetDomainCorsRequest request)
        set cors config of specified domain acceleration.
        参数:
        request - The request containing all of the options related to the update request.
        返回:
        Result of the setDomainCors operation returned by the service.
      • getDomainCors

        public GetDomainCorsResponse getDomainCors​(String domain)
        Get Cors config information of a domain
        参数:
        domain - domain's name
        返回:
        Result of the getDomainCors operation returned by the service.
      • getDomainCors

        public GetDomainCorsResponse getDomainCors​(DomainMiddleRequest request)
        Get Cors config information of a domain
        参数:
        request - The request containing all of the options related to the domain.
        返回:
        Result of the getDomainCors operation returned by the service.
      • setDomainAccessLimit

        public CommonResponse setDomainAccessLimit​(SetDomainAccessLimitRequest request)
        set AccessLimit config of specified domain acceleration.
        参数:
        request - The request containing all of the options related to the domain.
        返回:
        Result of the setDomainAccessLimit operation returned by the service.
      • getDomainOriginProtocol

        public GetDomainOriginProtocolResponse getDomainOriginProtocol​(String domain)
        Get origin protocol config information of specified domain acceleration.
        参数:
        domain -
        返回:
      • getDomainAccessLimit

        public GetDomainAccessLimitResponse getDomainAccessLimit​(String domain)
        Get AccessLimit config information of specified domain acceleration.
        参数:
        domain - domain's name
        返回:
        Result of the getDomainAccessLimit operation returned the domain.
      • getDomainAccessLimit

        public GetDomainAccessLimitResponse getDomainAccessLimit​(DomainMiddleRequest request)
        Get AccessLimit config information of specified domain acceleration.
        参数:
        request - The request containing all of the options related to the domain.
        返回:
        Result of the getDomainAccessLimit operation returned by the service.
      • setDomainClientIp

        public CommonResponse setDomainClientIp​(SetDomainClientIpRequest request)
        set ClientIp config of specified domain acceleration.
        参数:
        request - The request containing all of the options related to the domain.
        返回:
        Result of the setDomainClientIp operation returned by the service.
      • getDomainClientIp

        public GetDomainClientIpResponse getDomainClientIp​(DomainMiddleRequest request)
        Get ClientIp config information of specified domain acceleration.
        参数:
        request - The request containing all of the options related to the domain.
        返回:
        Result of the getDomainClientIp operation returned by the service.
      • setHttpsConfig

        public void setHttpsConfig​(String domain,
                                   HttpsConfig https)
        Set HTTPS with certain configuration.
        参数:
        domain - Name of the domain.
        https - The configuration of HTTPS.
      • setHttpsConfig

        public CommonResponse setHttpsConfig​(SetHttpsConfigRequest request)
        Set HTTPS with certain configuration.
        参数:
        request - The request containing all of the options related to the update request.
        返回:
        Result of the setHTTPSAcceleration operation returned by the service.
      • setRequestAuth

        public void setRequestAuth​(String domain,
                                   RequestAuth requestAuth)
        Set the request authentication.
        参数:
        domain - Name of the domain.
        requestAuth - The configuration of authentication.
      • setRequestAuth

        public CommonResponse setRequestAuth​(SetRequestAuthRequest request)
        Set the request authentication.
        参数:
        request - The request containing all of the options related to the update request.
        返回:
        Result of the setHTTPSAcceleration operation returned by the service.
      • prefetch

        public PrefetchResponse prefetch​(String url)
        Post prefetch request
        参数:
        url - The URL to be prefetched.
        返回:
        Result of the prefetch operation returned by the service.
      • prefetch

        public PrefetchResponse prefetch​(PrefetchRequest request)
        Post prefetch request
        参数:
        request - The request containing all of the URLs to be prefetched.
        返回:
        Result of the prefetch operation returned by the service.
      • purge

        public PurgeResponse purge​(String url)
        Post purge request
        参数:
        url - The URL to be purged.
        返回:
        Result of the purge operation returned by the service.
      • purgeDirectory

        public PurgeResponse purgeDirectory​(String directory)
        Post purge request
        参数:
        directory - The directory to be purged.
        返回:
        Result of the purge operation returned by the service.
      • purge

        public PurgeResponse purge​(PurgeRequest request)
        Post purge request
        参数:
        request - The request containing all of the URLs to be purged.
        返回:
        Result of the purge operation returned by the service.
      • getPurgeStatus

        public GetPurgeStatusResponse getPurgeStatus​(GetPurgeStatusRequest request)
        Get purge status with specified attributes.
        参数:
        request - The request containing the task id returned by purge operation.
        返回:
        Details of tasks
      • getPrefetchStatus

        public GetPrefetchStatusResponse getPrefetchStatus​(GetPrefetchStatusRequest request)
        Get prefetch status with specified attributes.
        参数:
        request - The request containing the task id returned by prefetch operation.
        返回:
        Details of tasks
      • getStatPv

        public GetStatPvResponse getStatPv​(GetStatPvRequest request)
        Get pv statistics with specified attributes.
        参数:
        request - The request containing all the options related to the statistics.
        返回:
        Details of statistics
      • getStatFlow

        public GetStatFlowResponse getStatFlow​(GetStatFlowRequest request)
        Get flow statistics with specified attributes.
        参数:
        request - The request containing all the options related to the statistics.
        返回:
        Details of statistics
      • getStatSrcFlow

        public GetStatSrcFlowResponse getStatSrcFlow​(GetStatSrcFlowRequest request)
        Get origin flow statistics with specified attributes.
        参数:
        request - The request containing all the options related to the statistics.
        返回:
        Details of statistics
      • getStatHitRate

        public GetStatHitRateResponse getStatHitRate​(GetStatHitRateRequest request)
        Get hit rate statistics with specified attributes.
        参数:
        request - The request containing all the options related to the statistics.
        返回:
        Details of statistics
      • getStatHttpCode

        public GetStatHttpCodeResponse getStatHttpCode​(GetStatHttpCodeRequest request)
        Get http code statistics with specified attributes.
        参数:
        request - The request containing all the options related to the statistics.
        返回:
        Details of statistics
      • getStatTopUrl

        public GetStatTopUrlResponse getStatTopUrl​(GetStatTopUrlRequest request)
        Get top url statistics with specified attributes.
        参数:
        request - The request containing all the options related to the statistics.
        返回:
        Details of statistics
      • getStatTopReferer

        public GetStatTopRefererResponse getStatTopReferer​(GetStatTopRefererRequest request)
        Get top http referer statistics with specified attributes.
        参数:
        request - The request containing all the options related to the statistics.
        返回:
        Details of statistics
      • getStatUv

        public GetStatUvResponse getStatUv​(GetStatUvRequest request)
        Get uv statistics with specified attributes.
        参数:
        request - The request containing all the options related to the statistics.
        返回:
        Details of statistics
      • getStatAvgSpeed

        public GetStatAvgSpeedResponse getStatAvgSpeed​(GetStatAvgSpeedRequest request)
        Get average speed statistics with specified attributes.
        参数:
        request - The request containing all the options related to the statistics.
        返回:
        Details of statistics
      • getCacheQuota

        public GetCacheQuotaResponse getCacheQuota()
        Get cache operation quota.
        返回:
        Details of statistics
      • getCacheQuota

        public GetCacheQuotaResponse getCacheQuota​(GetCacheQuotaRequest request)
        Get cache operation quota.
        参数:
        request - The request containing all the options related to the statistics.
        返回:
        Details of statistics
      • getCacheRecords

        public GetCacheRecordsResponse getCacheRecords​(GetCacheDetailRequest request)
        Get cache operation records.
        参数:
        request - The request containing all the options related to the CacheRecords.
        返回:
        Details of CacheRecords
      • setDsa

        public void setDsa​(SetDsaRequest request)
        Update dsa service of specified domain acceleration.
        参数:
        request - The request containing all of the options related to the update request.
      • getDsaDomainList

        public GetDsaDomainListResponse getDsaDomainList()
        Get Dsa Domain List.
        返回:
        Details of DsaDomain
      • setDomainDsa

        public void setDomainDsa​(SetDomainDsaRequest request)
        Update Dsa rules of specified domain acceleration.
        参数:
        request - The request containing all of the options related to the update request.
      • getDomainLog

        public GetDomainLogResponse getDomainLog​(GetDomainLogRequest request)
        Get URLs of logmodel files
        参数:
        request - The request containing all the options related to the statistics.
        返回:
        Details of statistics
      • getDomainListLog

        public GetDomainListLogResponse getDomainListLog​(GetDomainListLogRequest request)
        Get multiple domain URLs of logmodel files
        参数:
        request - The request containing all the options related to the statistics.
        返回:
        Details of statistics
      • describeIp

        public DescribeIpResponse describeIp​(String ip)
        Get the description of certain IP address.
        参数:
        ip - IP address.
        返回:
        Details of statistics
      • describeIp

        public DescribeIpResponse describeIp​(DescribeIpRequest request)
        Get the description of certain IP address.
        参数:
        request - The request containing all the options related to the statistics.
        返回:
        Details of statistics
      • getStatMetricData

        public GetStatMetricResponse getStatMetricData​(GetStatMetricRequest request)
        Get statistics metric with specified attributes (stat_version_2.0).
        参数:
        request - The request containing all the options related to the statistics.
        返回:
        Details of statistics