public class MetricSet extends AbstractModel
Constructor and Description |
---|
MetricSet() |
MetricSet(MetricSet 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 |
---|---|
DimensionsDesc[] |
getDimensions()
Get Dimension description
|
MetricObjectMeaning |
getMeaning()
Get Meaning of the statistical metric
|
String |
getMetricCName()
Get Metric name (in Chinese).
|
String |
getMetricEName()
Get Metric name (in English).
|
String |
getMetricName()
Get Metric Name
|
String |
getNamespace()
Get Namespace.
|
Long[] |
getPeriod()
Get Statistical period in seconds supported by the metric, such as 60 and 300
|
PeriodsSt[] |
getPeriods()
Get Metric method during the statistical period
|
String |
getUnit()
Get Unit used by the metric
|
String |
getUnitCname()
Get Unit used by the metric
|
void |
setDimensions(DimensionsDesc[] Dimensions)
Set Dimension description
|
void |
setMeaning(MetricObjectMeaning Meaning)
Set Meaning of the statistical metric
|
void |
setMetricCName(String MetricCName)
Set Metric name (in Chinese).
|
void |
setMetricEName(String MetricEName)
Set Metric name (in English).
|
void |
setMetricName(String MetricName)
Set Metric Name
|
void |
setNamespace(String Namespace)
Set Namespace.
|
void |
setPeriod(Long[] Period)
Set Statistical period in seconds supported by the metric, such as 60 and 300
|
void |
setPeriods(PeriodsSt[] Periods)
Set Metric method during the statistical period
|
void |
setUnit(String Unit)
Set Unit used by the metric
|
void |
setUnitCname(String UnitCname)
Set Unit used by the metric
|
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 MetricSet()
public MetricSet(MetricSet source)
public String getNamespace()
public void setNamespace(String Namespace)
Namespace
- Namespace. Each Tencent Cloud product has a namespacepublic String getMetricName()
public void setMetricName(String MetricName)
MetricName
- Metric Namepublic String getUnit()
public void setUnit(String Unit)
Unit
- Unit used by the metricpublic String getUnitCname()
public void setUnitCname(String UnitCname)
UnitCname
- Unit used by the metricpublic Long[] getPeriod()
public void setPeriod(Long[] Period)
Period
- Statistical period in seconds supported by the metric, such as 60 and 300public PeriodsSt[] getPeriods()
public void setPeriods(PeriodsSt[] Periods)
Periods
- Metric method during the statistical periodpublic MetricObjectMeaning getMeaning()
public void setMeaning(MetricObjectMeaning Meaning)
Meaning
- Meaning of the statistical metricpublic DimensionsDesc[] getDimensions()
public void setDimensions(DimensionsDesc[] Dimensions)
Dimensions
- Dimension descriptionpublic String getMetricCName()
public void setMetricCName(String MetricCName)
MetricCName
- Metric name (in Chinese).
Note: this field may return `null`, indicating that no valid values can be obtained.public String getMetricEName()
public void setMetricEName(String MetricEName)
MetricEName
- Metric name (in English).
Note: this field may return `null`, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.