public class DescribeStatisticDataRequest extends AbstractModel
Constructor and Description |
---|
DescribeStatisticDataRequest() |
DescribeStatisticDataRequest(DescribeStatisticDataRequest 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 |
---|---|
MidQueryCondition[] |
getConditions()
Get Dimension condition.
|
String |
getEndTime()
Get End time, which is the current time by default, such as 2020-12-08T19:51:23+08:00
|
String[] |
getGroupBys()
Get `groupBy` by the specified dimension
|
String[] |
getMetricNames()
Get Metric name list
|
String |
getModule()
Get Module, whose value is fixed at `monitor`
|
String |
getNamespace()
Get Namespace.
|
Long |
getPeriod()
Get Statistical period in seconds.
|
String |
getStartTime()
Get Start time, which is the current time by default, such as 2020-12-08T19:51:23+08:00
|
void |
setConditions(MidQueryCondition[] Conditions)
Set Dimension condition.
|
void |
setEndTime(String EndTime)
Set End time, which is the current time by default, such as 2020-12-08T19:51:23+08:00
|
void |
setGroupBys(String[] GroupBys)
Set `groupBy` by the specified dimension
|
void |
setMetricNames(String[] MetricNames)
Set Metric name list
|
void |
setModule(String Module)
Set Module, whose value is fixed at `monitor`
|
void |
setNamespace(String Namespace)
Set Namespace.
|
void |
setPeriod(Long Period)
Set Statistical period in seconds.
|
void |
setStartTime(String StartTime)
Set Start time, which is the current time by default, such as 2020-12-08T19:51:23+08: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 DescribeStatisticDataRequest()
public DescribeStatisticDataRequest(DescribeStatisticDataRequest source)
public String getModule()
public void setModule(String Module)
Module
- Module, whose value is fixed at `monitor`public String getNamespace()
public void setNamespace(String Namespace)
Namespace
- Namespace. Valid values: `QCE`, `TKE2`.public String[] getMetricNames()
public void setMetricNames(String[] MetricNames)
MetricNames
- Metric name listpublic MidQueryCondition[] getConditions()
public void setConditions(MidQueryCondition[] Conditions)
Conditions
- Dimension condition. The `=` and `in` operators are supportedpublic Long getPeriod()
public void setPeriod(Long Period)
Period
- Statistical period in seconds. Default value: 300. Optional values: 60, 300, 3,600, and 86,400.
Due to the storage period limit, the statistical period is subject to the time range of statistics:
60s: The time range is less than 12 hours, and the timespan between `StartTime` and the current time cannot exceed 15 days.
300s: The time range is less than three days, and the timespan between `StartTime` and the current time cannot exceed 31 days.
3,600s: The time range is less than 30 days, and the timespan between `StartTime` and the current time cannot exceed 93 days.
86,400s: The time range is less than 186 days, and the timespan between `StartTime` and the current time cannot exceed 186 days.public String getStartTime()
public void setStartTime(String StartTime)
StartTime
- Start time, which is the current time by default, such as 2020-12-08T19:51:23+08:00public String getEndTime()
public void setEndTime(String EndTime)
EndTime
- End time, which is the current time by default, such as 2020-12-08T19:51:23+08:00public String[] getGroupBys()
public void setGroupBys(String[] GroupBys)
GroupBys
- `groupBy` by the specified dimensionCopyright © 2023. All rights reserved.