public class BpsRequest extends CommonFieldRequest
获取域名带宽数据,包括边缘带宽、回源带宽数据,单位:bit\/second
支持按指定的起止时间查询,两者需要同时指定
支持批量域名查询,多个域名ID用逗号(半角)分隔
最多可获取最近一年内93天跨度的数据
统计粒度:5分钟粒度;10分钟粒度;20分钟粒度;1小时粒度;4小时粒度;8小时粒度;1天粒度;以上粒度的带宽值均取该粒度时间段的峰值
| Constructor and Description |
|---|
BpsRequest() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
buildParams()
生成get请求的请求参数
|
String |
getDataType() |
GeneralRequestParam |
getGeneralRequestParam()
未实现,留在子类中实现
|
String |
getGranularity() |
String |
getProtocolType() |
String |
getRegions() |
String |
getResultType() |
void |
setDataType(String dataType) |
void |
setGranularity(String granularity) |
void |
setProtocolType(String protocolType) |
void |
setRegions(String regions) |
void |
setResultType(String resultType) |
getCdnType, getDomainIds, getEndTime, getGranularity, getStartTime, setCdnType, setDomainIds, setEndTime, setStartTimepublic String getRegions()
public void setRegions(String regions)
public String getResultType()
public void setResultType(String resultType)
public String getGranularity()
public void setGranularity(String granularity)
public String getDataType()
public void setDataType(String dataType)
public String getProtocolType()
public void setProtocolType(String protocolType)
public Map<String,String> buildParams() throws KscClientException, ParseException
GeneralRequestbuildParams in interface GeneralRequestbuildParams in class CommonFieldRequestKscClientExceptionParseExceptionpublic GeneralRequestParam getGeneralRequestParam()
CommonFieldRequestgetGeneralRequestParam in interface GeneralRequestgetGeneralRequestParam in class CommonFieldRequestCopyright © 2023. All rights reserved.