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 Metric display name
|
String[] |
getDimensions()
Get Dimension list
|
Long |
getIsAdvanced()
Get Whether it is an advanced metric.
|
Long |
getIsOpen()
Get Whether the advanced metric feature is enabled.
|
Float |
getMax()
Get Maximum value
|
MetricConfig |
getMetricConfig()
Get Metric configuration
Note: this field may return null, indicating that no valid values can be obtained.
|
String |
getMetricName()
Get Metric name
|
Float |
getMin()
Get Minimum value
|
String |
getNamespace()
Get Alarm policy type
|
Long |
getProductId()
Get Integration center product ID.
|
String |
getUnit()
Get Unit
|
void |
setDescription(String Description)
Set Metric display name
|
void |
setDimensions(String[] Dimensions)
Set Dimension list
|
void |
setIsAdvanced(Long IsAdvanced)
Set Whether it is an advanced metric.
|
void |
setIsOpen(Long IsOpen)
Set Whether the advanced metric feature is enabled.
|
void |
setMax(Float Max)
Set Maximum value
|
void |
setMetricConfig(MetricConfig MetricConfig)
Set Metric configuration
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setMetricName(String MetricName)
Set Metric name
|
void |
setMin(Float Min)
Set Minimum value
|
void |
setNamespace(String Namespace)
Set Alarm policy type
|
void |
setProductId(Long ProductId)
Set Integration center product ID.
|
void |
setUnit(String Unit)
Set Unit
|
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
- Alarm policy typepublic String getMetricName()
public void setMetricName(String MetricName)
MetricName
- Metric namepublic String getDescription()
public void setDescription(String Description)
Description
- Metric display namepublic Float getMin()
public void setMin(Float Min)
Min
- Minimum valuepublic Float getMax()
public void setMax(Float Max)
Max
- Maximum valuepublic String[] getDimensions()
public void setDimensions(String[] Dimensions)
Dimensions
- Dimension listpublic String getUnit()
public void setUnit(String Unit)
Unit
- Unitpublic MetricConfig getMetricConfig()
public void setMetricConfig(MetricConfig MetricConfig)
MetricConfig
- Metric configuration
Note: this field may return null, indicating that no valid values can be obtained.public Long getIsAdvanced()
public void setIsAdvanced(Long IsAdvanced)
IsAdvanced
- Whether it is an advanced metric. 1: Yes; 0: No.
Note: This field may return `null`, indicating that no valid values can be obtained.public Long getIsOpen()
public void setIsOpen(Long IsOpen)
IsOpen
- Whether the advanced metric feature is enabled. 1: Yes; 0: No.
Note: This field may return `null`, indicating that no valid values can be obtained.public Long getProductId()
public void setProductId(Long ProductId)
ProductId
- Integration center product ID.
Note: This field may return `null`, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.