public class GetMonitorDataRequest extends AbstractModel
Constructor and Description |
---|
GetMonitorDataRequest() |
GetMonitorDataRequest(GetMonitorDataRequest 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 |
---|---|
String |
getEndTime()
Get End time, which is the current time by default, such as 2018-09-22T20:51:23+08:00.
|
Instance[] |
getInstances()
Get Dimension combination of instance object in the format of `key-value` pair, such as [{"Name":"InstanceId","Value":"ins-j0hk02zo"}].
|
String |
getMetricName()
Get Metric name, such as `CPUUsage`.
|
String |
getNamespace()
Get Namespace, such as QCE/CVM.
|
Long |
getPeriod()
Get Monitoring statistical period in seconds, such as 60.
|
String |
getStartTime()
Get Start time such as 2018-09-22T19:51:23+08:00
|
void |
setEndTime(String EndTime)
Set End time, which is the current time by default, such as 2018-09-22T20:51:23+08:00.
|
void |
setInstances(Instance[] Instances)
Set Dimension combination of instance object in the format of `key-value` pair, such as [{"Name":"InstanceId","Value":"ins-j0hk02zo"}].
|
void |
setMetricName(String MetricName)
Set Metric name, such as `CPUUsage`.
|
void |
setNamespace(String Namespace)
Set Namespace, such as QCE/CVM.
|
void |
setPeriod(Long Period)
Set Monitoring statistical period in seconds, such as 60.
|
void |
setStartTime(String StartTime)
Set Start time such as 2018-09-22T19: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 GetMonitorDataRequest()
public GetMonitorDataRequest(GetMonitorDataRequest source)
public String getNamespace()
public void setNamespace(String Namespace)
Namespace
- Namespace, such as QCE/CVM. For more information on the namespaces of each Tencent Cloud service, please see [Tencent Cloud Service Metrics](https://intl.cloud.tencent.com/document/product/248/6140?from_cn_redirect=1)public String getMetricName()
public void setMetricName(String MetricName)
MetricName
- Metric name, such as `CPUUsage`. For more information on the metrics of each Tencent Cloud service, please see [Tencent Cloud Service Metrics](https://intl.cloud.tencent.com/document/product/248/6140?from_cn_redirect=1). The corresponding metric name is the `MetricName`public Instance[] getInstances()
public void setInstances(Instance[] Instances)
Instances
- Dimension combination of instance object in the format of `key-value` pair, such as [{"Name":"InstanceId","Value":"ins-j0hk02zo"}]. For more information on the dimensions of each Tencent Cloud service, please see [Tencent Cloud Service Metrics](https://intl.cloud.tencent.com/document/product/248/6140?from_cn_redirect=1). The value in the dimension column is the `key` in the dimension combination, and the value corresponding to the `key` is the `value` in the combinationpublic Long getPeriod()
public void setPeriod(Long Period)
Period
- Monitoring statistical period in seconds, such as 60. Default value: 300. The statistical period varies by metric. For more information on the statistical periods supported by each Tencent Cloud service, please see [Tencent Cloud Service Metrics](https://intl.cloud.tencent.com/document/product/248/6140?from_cn_redirect=1). The values in the statistical period column are the supported statistical periodspublic String getStartTime()
public void setStartTime(String StartTime)
StartTime
- Start time such as 2018-09-22T19:51:23+08:00public String getEndTime()
public void setEndTime(String EndTime)
EndTime
- End time, which is the current time by default, such as 2018-09-22T20:51:23+08:00. `EndTime` cannot be earlier than `StartTime`Copyright © 2021. All rights reserved.