public class DescribeBillingDataRequest extends AbstractModel
Constructor and Description |
---|
DescribeBillingDataRequest() |
Modifier and Type | Method and Description |
---|---|
String |
getArea()
Get Acceleration region whose billing data is to be queried:
mainland: in the mainland of China
overseas: outside the mainland of China
If this parameter is left empty, `mainland` will be used by default
|
Long |
getDistrict()
Get Country/region to be queried if `Area` is `overseas`
For district or country/region codes, please see [District Code Mappings](https://intl.cloud.tencent.com/document/product/228/6316?from_cn_redirect=1#.E7.9C.81.E4.BB.BD.E6.98.A0.E5.B0.84)
If this parameter is left empty, all countries/regions will be queried
|
String |
getDomain()
Get Domain name whose billing data is to be queried
|
String |
getEndTime()
Get Query end time, e.g.
|
String |
getInterval()
Get Time granularity, which can be:
min: 1-minute.
|
String |
getMetric()
Get Billing statistics type
flux: bill-by-traffic
bandwidth: bill-by-bandwidth
Default value: `bandwidth`
|
Long |
getProject()
Get Project ID, which can be viewed [here](https://console.cloud.tencent.com/project)
If the `Domain` parameter is populated with specific domain name information, then the billing data of this domain name instead of the specified project will be returned
|
String |
getStartTime()
Get Query start time, e.g., 2018-09-04 10:40:00.
|
void |
setArea(String Area)
Set Acceleration region whose billing data is to be queried:
mainland: in the mainland of China
overseas: outside the mainland of China
If this parameter is left empty, `mainland` will be used by default
|
void |
setDistrict(Long District)
Set Country/region to be queried if `Area` is `overseas`
For district or country/region codes, please see [District Code Mappings](https://intl.cloud.tencent.com/document/product/228/6316?from_cn_redirect=1#.E7.9C.81.E4.BB.BD.E6.98.A0.E5.B0.84)
If this parameter is left empty, all countries/regions will be queried
|
void |
setDomain(String Domain)
Set Domain name whose billing data is to be queried
|
void |
setEndTime(String EndTime)
Set Query end time, e.g.
|
void |
setInterval(String Interval)
Set Time granularity, which can be:
min: 1-minute.
|
void |
setMetric(String Metric)
Set Billing statistics type
flux: bill-by-traffic
bandwidth: bill-by-bandwidth
Default value: `bandwidth`
|
void |
setProject(Long Project)
Set Project ID, which can be viewed [here](https://console.cloud.tencent.com/project)
If the `Domain` parameter is populated with specific domain name information, then the billing data of this domain name instead of the specified project will be returned
|
void |
setStartTime(String StartTime)
Set Query start time, e.g., 2018-09-04 10:40:00.
|
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, toJsonString
public String getStartTime()
public void setStartTime(String StartTime)
StartTime
- Query start time, e.g., 2018-09-04 10:40:00. The returned result will be later than or equal to the specified time
The time will be rounded forward based on the granularity parameter `Interval`. For example, if the query start time is 2018-09-04 10:40:00 and the query time granularity is 1-hour, the time for the first returned entry will be 2018-09-04 10:00:00
The range between the start time and end time should be less than or equal to 90 dayspublic String getEndTime()
public void setEndTime(String EndTime)
EndTime
- Query end time, e.g. 2018-09-04 10:40:00. The returned result will be earlier than or equal to the specified time
The time will be rounded forward based on the granularity parameter `Interval`. For example, if the query end time is 2018-09-04 10:40:00 and the query time granularity is 1-hour, the time for the last returned entry will be 2018-09-04 10:00:00
The range between the start time and end time should be less than or equal to 90 dayspublic String getInterval()
public void setInterval(String Interval)
Interval
- Time granularity, which can be:
min: 1-minute. The query range should be less than or equal to 24 hours
5min: 5-minute. The query range should be less than or equal to 31 days
hour: 1-hour. The query range should be less than or equal to 31 days
day: 1-day. The query period should be greater than 31 days
Currently, data query at 1-minute granularity is not supported if the `Area` field is `overseas`public String getDomain()
public void setDomain(String Domain)
Domain
- Domain name whose billing data is to be queriedpublic Long getProject()
public void setProject(Long Project)
Project
- Project ID, which can be viewed [here](https://console.cloud.tencent.com/project)
If the `Domain` parameter is populated with specific domain name information, then the billing data of this domain name instead of the specified project will be returnedpublic String getArea()
public void setArea(String Area)
Area
- Acceleration region whose billing data is to be queried:
mainland: in the mainland of China
overseas: outside the mainland of China
If this parameter is left empty, `mainland` will be used by defaultpublic Long getDistrict()
public void setDistrict(Long District)
District
- Country/region to be queried if `Area` is `overseas`
For district or country/region codes, please see [District Code Mappings](https://intl.cloud.tencent.com/document/product/228/6316?from_cn_redirect=1#.E7.9C.81.E4.BB.BD.E6.98.A0.E5.B0.84)
If this parameter is left empty, all countries/regions will be queriedpublic String getMetric()
public void setMetric(String Metric)
Metric
- Billing statistics type
flux: bill-by-traffic
bandwidth: bill-by-bandwidth
Default value: `bandwidth`Copyright © 2020. All rights reserved.