public class CdnData extends AbstractModel
| Constructor and Description | 
|---|
| CdnData() | 
| Modifier and Type | Method and Description | 
|---|---|
| TimestampData[] | getDetailData()Get Detailed data combination | 
| String | getMetric()Get Queries the specified metric:
flux: traffic (in bytes)
bandwidth: bandwidth (in bps)
request: number of requests
fluxHitRate: traffic hit rate (in %)
statusCode: status code. | 
| SummarizedData | getSummarizedData()Get Aggregate data combination | 
| void | setDetailData(TimestampData[] DetailData)Set Detailed data combination | 
| void | setMetric(String Metric)Set Queries the specified metric:
flux: traffic (in bytes)
bandwidth: bandwidth (in bps)
request: number of requests
fluxHitRate: traffic hit rate (in %)
statusCode: status code. | 
| void | setSummarizedData(SummarizedData SummarizedData)Set Aggregate data combination | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonStringpublic String getMetric()
public void setMetric(String Metric)
Metric - Queries the specified metric:
flux: traffic (in bytes)
bandwidth: bandwidth (in bps)
request: number of requests
fluxHitRate: traffic hit rate (in %)
statusCode: status code. The aggregate data for 2xx, 3xx, 4xx, and 5xx status codes will be returned (in entries)
2XX: Returns the aggregate list of 2xx status codes and the data for status codes starting with 2 (in entries)
3XX: Returns the aggregate list of 3xx status codes and the data for status codes starting with 3 (in entries)
4XX: Returns the aggregate list of 4xx status codes and the data for status codes starting with 4 (in entries)
5XX: Returns the aggregate list of 5xx status codes and the data for status codes starting with 5 (in entries)
Alternatively, you can specify a status code for querying.public TimestampData[] getDetailData()
public void setDetailData(TimestampData[] DetailData)
DetailData - Detailed data combinationpublic SummarizedData getSummarizedData()
public void setSummarizedData(SummarizedData SummarizedData)
SummarizedData - Aggregate data combinationCopyright © 2020. All rights reserved.