类 GetXcdnStatMetricRequest
- java.lang.Object
-
- com.baidubce.model.AbstractBceRequest
-
- com.baidubce.services.cdn.model.CdnRequest
-
- com.baidubce.services.cdn.model.stat.GetXcdnStatMetricRequest
-
public class GetXcdnStatMetricRequest extends CdnRequest
The params of metric query
-
-
构造器概要
构造器 构造器 说明 GetXcdnStatMetricRequest()
-
方法概要
-
从类继承的方法 com.baidubce.services.cdn.model.CdnRequest
toString, withRequestCredentials
-
从类继承的方法 com.baidubce.model.AbstractBceRequest
getRequestCredentials, setRequestCredentials
-
-
-
-
方法详细资料
-
withMetric
public GetXcdnStatMetricRequest withMetric(String metric)
- 参数:
metric-- 返回:
-
withStartTime
public GetXcdnStatMetricRequest withStartTime(String startTime)
-
withStartTime
public GetXcdnStatMetricRequest withStartTime(Date startTime)
- 参数:
startTime-- 返回:
-
withEndTime
public GetXcdnStatMetricRequest withEndTime(String endTime)
- 参数:
endTime-- 返回:
-
withEndTime
public GetXcdnStatMetricRequest withEndTime(Date endTime)
- 参数:
endTime-- 返回:
-
withPeriod
public GetXcdnStatMetricRequest withPeriod(Integer period)
- 参数:
period-- 返回:
-
withKeyType
public GetXcdnStatMetricRequest withKeyType(Integer keyType)
- 参数:
keyType-- 返回:
-
withKeys
public GetXcdnStatMetricRequest withKeys(List<String> keys)
- 参数:
keys-- 返回:
-
withKeys
public GetXcdnStatMetricRequest withKeys(String keys)
- 参数:
keys-- 返回:
-
withGroupByKey
public GetXcdnStatMetricRequest withGroupByKey(Boolean groupByKey)
- 参数:
groupByKey-- 返回:
-
getMetric
public String getMetric()
- 返回:
-
setMetric
public void setMetric(String metric)
- 参数:
metric-
-
getStartTime
public String getStartTime()
- 返回:
-
setStartTime
public void setStartTime(String startTime)
- 参数:
startTime-
-
getEndTime
public String getEndTime()
- 返回:
-
setEndTime
public void setEndTime(String endTime)
- 参数:
endTime-
-
getPeriod
public Integer getPeriod()
- 返回:
-
setPeriod
public void setPeriod(Integer period)
- 参数:
period-
-
getKeyType
public Integer getKeyType()
- 返回:
-
setKeyType
public void setKeyType(Integer keyType)
- 参数:
keyType-
-
getGroupByKey
public Boolean getGroupByKey()
-
setGroupByKey
public void setGroupByKey(Boolean groupByKey)
-
getProductType
public String getProductType()
-
setProductType
public void setProductType(String productType)
-
-