加速域名配置
所有文档

          内容分发网络 CDN

          加速域名配置

          查询加速域名详情接口

          public void getDomainConfig(String domainName) {
                  GetDomainConfigResponse response = cdnClient.getDomainConfig(domainName);
              }

          设置HTTPS加速

            public void setHttpsConfig(CdnClient client, String domainName) {
                  HttpsConfig https = new HttpsConfig()
                          .withEnabled(true)
                          .withCertId("cert-id");
                  SetHttpsConfigRequest request = new SetHttpsConfigRequest()
                          .withDomain(domain)
                          .withHttps(https);
                  client.setHttpsConfig(request);
              }
          上一篇
          CdnClient
          下一篇
          缓存配置接口