public class DescribeCDNUsageDataRequest extends AbstractModel
| Constructor and Description |
|---|
DescribeCDNUsageDataRequest() |
DescribeCDNUsageDataRequest(DescribeCDNUsageDataRequest 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 |
|---|---|
Long |
getDataInterval()
Get Time granularity of usage data in minutes.
|
String |
getDataType()
Get CDN statistics type.
|
String[] |
getDomainNames()
Get List of domain names.
|
String |
getEndTime()
Get End date in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
|
String |
getStartTime()
Get Start date in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
|
Long |
getSubAppId()
Get ID of a [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) in VOD.
|
void |
setDataInterval(Long DataInterval)
Set Time granularity of usage data in minutes.
|
void |
setDataType(String DataType)
Set CDN statistics type.
|
void |
setDomainNames(String[] DomainNames)
Set List of domain names.
|
void |
setEndTime(String EndTime)
Set End date in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
|
void |
setStartTime(String StartTime)
Set Start date in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
|
void |
setSubAppId(Long SubAppId)
Set ID of a [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) in VOD.
|
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 DescribeCDNUsageDataRequest()
public DescribeCDNUsageDataRequest(DescribeCDNUsageDataRequest source)
public String getStartTime()
public void setStartTime(String StartTime)
StartTime - Start date in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).public String getEndTime()
public void setEndTime(String EndTime)
EndTime - End date in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). The end date must be after the start date.public String getDataType()
public void setDataType(String DataType)
DataType - CDN statistics type. Valid values:
public Long getDataInterval()
public void setDataInterval(Long DataInterval)
DataInterval - Time granularity of usage data in minutes. Valid values:
public String[] getDomainNames()
public void setDomainNames(String[] DomainNames)
DomainNames - List of domain names. The usage data of up to 20 domain names can be queried at a time. You can specify multiple domain names and query their combined usage data. The usage data of all domain names will be returned by default.public Long getSubAppId()
public void setSubAppId(Long SubAppId)
SubAppId - ID of a [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.
When the value of this field is 1, the total usage of all subapplications (including primary application) are queried by an admin. In this case, only 1-day granularity is supported.Copyright © 2021. All rights reserved.