Class MonitorMetric
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.dbbrain.v20191016.models.MonitorMetric
-
public class MonitorMetric extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description MonitorMetric()MonitorMetric(MonitorMetric 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetMetric()Get 指标名称。StringgetUnit()Get 指标单位。Long[]getValues()Get 指标值。 注意:此字段可能返回 null,表示取不到有效值。voidsetMetric(String Metric)Set 指标名称。voidsetUnit(String Unit)Set 指标单位。voidsetValues(Long[] Values)Set 指标值。 注意:此字段可能返回 null,表示取不到有效值。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
MonitorMetric
public MonitorMetric()
-
MonitorMetric
public MonitorMetric(MonitorMetric 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.
-
-
Method Detail
-
getMetric
public String getMetric()
Get 指标名称。- Returns:
- Metric 指标名称。
-
setMetric
public void setMetric(String Metric)
Set 指标名称。- Parameters:
Metric- 指标名称。
-
getUnit
public String getUnit()
Get 指标单位。- Returns:
- Unit 指标单位。
-
setUnit
public void setUnit(String Unit)
Set 指标单位。- Parameters:
Unit- 指标单位。
-
getValues
public Long[] getValues()
Get 指标值。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Values 指标值。 注意:此字段可能返回 null,表示取不到有效值。
-
setValues
public void setValues(Long[] Values)
Set 指标值。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Values- 指标值。 注意:此字段可能返回 null,表示取不到有效值。
-
-