public class DescribeEcdnStatisticsRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| DescribeEcdnStatisticsRequest() | 
| DescribeEcdnStatisticsRequest(DescribeEcdnStatisticsRequest 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getArea()Get Statistical areas:
mainland: Chinese mainland
oversea: outside the Chinese mainland
global: global
Default value: global | 
| String[] | getDomains()Get Specifies the list of domain names to be queried
Up to 30 acceleration domain names can be queried at a time. | 
| String | getEndTime()Get Query end time, such as 2019-12-13 23:59:59 | 
| Long | getInterval()Get Sampling interval in minutes. | 
| String[] | getMetrics()Get Specifies the query metric, which can be:
flux: traffic (in bytes)
bandwidth: bandwidth (in bps)
request: number of requests
2xx: returns the number of 2xx status codes or details of status codes starting with 2
3xx: returns the number of 3xx status codes or details of status codes starting with 3
4xx: returns the number of 4xx status codes or details of status codes starting with 4
5xx: returns the number of 5xx status codes or details of status codes starting with 5 | 
| Long[] | getProjects()Get Specifies the project ID to be queried, which can be viewed [here](https://console.cloud.tencent.com/project)
If no domain name is entered, the specified project will be queried; otherwise, the domain name will prevail | 
| String | getStartTime()Get Query start time, such as 2019-12-13 00:00:00 | 
| void | setArea(String Area)Set Statistical areas:
mainland: Chinese mainland
oversea: outside the Chinese mainland
global: global
Default value: global | 
| void | setDomains(String[] Domains)Set Specifies the list of domain names to be queried
Up to 30 acceleration domain names can be queried at a time. | 
| void | setEndTime(String EndTime)Set Query end time, such as 2019-12-13 23:59:59 | 
| void | setInterval(Long Interval)Set Sampling interval in minutes. | 
| void | setMetrics(String[] Metrics)Set Specifies the query metric, which can be:
flux: traffic (in bytes)
bandwidth: bandwidth (in bps)
request: number of requests
2xx: returns the number of 2xx status codes or details of status codes starting with 2
3xx: returns the number of 3xx status codes or details of status codes starting with 3
4xx: returns the number of 4xx status codes or details of status codes starting with 4
5xx: returns the number of 5xx status codes or details of status codes starting with 5 | 
| void | setProjects(Long[] Projects)Set Specifies the project ID to be queried, which can be viewed [here](https://console.cloud.tencent.com/project)
If no domain name is entered, the specified project will be queried; otherwise, the domain name will prevail | 
| void | setStartTime(String StartTime)Set Query start time, such as 2019-12-13 00:00:00 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic DescribeEcdnStatisticsRequest()
public DescribeEcdnStatisticsRequest(DescribeEcdnStatisticsRequest source)
public String getStartTime()
public void setStartTime(String StartTime)
StartTime - Query start time, such as 2019-12-13 00:00:00public String getEndTime()
public void setEndTime(String EndTime)
EndTime - Query end time, such as 2019-12-13 23:59:59public String[] getMetrics()
public void setMetrics(String[] Metrics)
Metrics - Specifies the query metric, which can be:
flux: traffic (in bytes)
bandwidth: bandwidth (in bps)
request: number of requests
2xx: returns the number of 2xx status codes or details of status codes starting with 2
3xx: returns the number of 3xx status codes or details of status codes starting with 3
4xx: returns the number of 4xx status codes or details of status codes starting with 4
5xx: returns the number of 5xx status codes or details of status codes starting with 5public Long getInterval()
public void setInterval(Long Interval)
Interval - Sampling interval in minutes. The available options vary for different query period. See below: 
1 day: `1`, `5`, `15`, `30`, `60`, `120`, `240`, `1440` 
2 to 3 days: `15`, `30`, `60`, `120`, `240`, `1440`
4 to 7 days: `30`, `60`, `120`, `240`, `1440`
8 to 31 days: `60`, `120`, `240`, `1440`public String[] getDomains()
public void setDomains(String[] Domains)
Domains - Specifies the list of domain names to be queried
Up to 30 acceleration domain names can be queried at a time.public Long[] getProjects()
public void setProjects(Long[] Projects)
Projects - Specifies the project ID to be queried, which can be viewed [here](https://console.cloud.tencent.com/project)
If no domain name is entered, the specified project will be queried; otherwise, the domain name will prevailpublic String getArea()
public void setArea(String Area)
Area - Statistical areas:
mainland: Chinese mainland
oversea: outside the Chinese mainland
global: global
Default value: globalCopyright © 2025. All rights reserved.