public class Metric extends AbstractModel
Constructor and Description |
---|
Metric() |
Metric(Metric 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 |
getDescription()
Get 指标展示名
|
String[] |
getDimensions()
Get 维度列表
|
Float |
getMax()
Get 最大值
|
MetricConfig |
getMetricConfig()
Get 指标配置
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getMetricName()
Get 指标名
|
Float |
getMin()
Get 最小值
|
String |
getNamespace()
Get 告警策略类型
|
String |
getUnit()
Get 单位
|
void |
setDescription(String Description)
Set 指标展示名
|
void |
setDimensions(String[] Dimensions)
Set 维度列表
|
void |
setMax(Float Max)
Set 最大值
|
void |
setMetricConfig(MetricConfig MetricConfig)
Set 指标配置
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setMetricName(String MetricName)
Set 指标名
|
void |
setMin(Float Min)
Set 最小值
|
void |
setNamespace(String Namespace)
Set 告警策略类型
|
void |
setUnit(String Unit)
Set 单位
|
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 Metric()
public Metric(Metric source)
public String getNamespace()
public void setNamespace(String Namespace)
Namespace
- 告警策略类型public String getMetricName()
public void setMetricName(String MetricName)
MetricName
- 指标名public String getDescription()
public void setDescription(String Description)
Description
- 指标展示名public Float getMin()
public void setMin(Float Min)
Min
- 最小值public Float getMax()
public void setMax(Float Max)
Max
- 最大值public String[] getDimensions()
public void setDimensions(String[] Dimensions)
Dimensions
- 维度列表public String getUnit()
public void setUnit(String Unit)
Unit
- 单位public MetricConfig getMetricConfig()
public void setMetricConfig(MetricConfig MetricConfig)
MetricConfig
- 指标配置
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2021. All rights reserved.