public class MonitorMetric extends AbstractModel
| Constructor and 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.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getMetric()
Get Metric name.
|
String |
getUnit()
Get Metric unit.
|
Long[] |
getValues()
Get Metric value.
|
void |
setMetric(String Metric)
Set Metric name.
|
void |
setUnit(String Unit)
Set Metric unit.
|
void |
setValues(Long[] Values)
Set Metric value.
|
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, toJsonStringpublic MonitorMetric()
public MonitorMetric(MonitorMetric source)
public String getMetric()
public void setMetric(String Metric)
Metric - Metric name.public String getUnit()
public void setUnit(String Unit)
Unit - Metric unit.public Long[] getValues()
public void setValues(Long[] Values)
Values - Metric value.
Note: this field may return null, indicating that no valid values can be obtained.Copyright © 2021. All rights reserved.